STM8S103系列IO模拟串口通信实现真正串口

上传者: 43184208 | 上传时间: 2020-01-03 11:40:26 | 文件大小: 1.38MB | 文件类型: zip
本实验代码是基于寄存器编写的,通过IO口模拟输出,利用定时器设置波特率,从而实现通信,可以理解成真正的串口。通俗易懂,深入浅出,适合刚上手STM8开发板的小伙伴,此外,改模板还可移植到实际工程中。

文件下载

资源详情

[{"title":"( 66 个子文件 1.38MB ) STM8S103系列IO模拟串口通信实现真正串口","children":[{"title":"STM8_Demo","children":[{"title":"Project","children":[{"title":"Debug","children":[{"title":"Obj","children":[{"title":"iouart.o <span style='color:#111;'> 32.16KB </span>","children":null,"spread":false},{"title":"STM8_Demo.pbd <span style='color:#111;'> 265.99KB </span>","children":null,"spread":false},{"title":"STM8_Demo.pbd.browse <span style='color:#111;'> 265.99KB </span>","children":null,"spread":false},{"title":"iouart.pbi.xcl <span style='color:#111;'> 11.04KB </span>","children":null,"spread":false},{"title":"STM8_Demo.pbd.linf <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 8.25KB </span>","children":null,"spread":false},{"title":"stm8s_interruput.pbi <span style='color:#111;'> 258.73KB </span>","children":null,"spread":false},{"title":"iouart.pbi <span style='color:#111;'> 256.96KB </span>","children":null,"spread":false},{"title":"clk_conf.pbi.xcl <span style='color:#111;'> 11.04KB </span>","children":null,"spread":false},{"title":"main.pbi.cout <span style='color:#111;'> 9.83KB </span>","children":null,"spread":false},{"title":"stm8s_interruput.pbi.xcl <span style='color:#111;'> 11.05KB </span>","children":null,"spread":false},{"title":"clk_conf.o <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"main.pbi.xcl <span style='color:#111;'> 11.04KB </span>","children":null,"spread":false},{"title":"stm8s_interruput.o <span style='color:#111;'> 52.53KB </span>","children":null,"spread":false},{"title":"clk_conf.pbi <span style='color:#111;'> 222.43KB </span>","children":null,"spread":false},{"title":"main.pbi <span style='color:#111;'> 256.44KB </span>","children":null,"spread":false},{"title":"led.o <span style='color:#111;'> 15.94KB </span>","children":null,"spread":false},{"title":"led.pbi <span style='color:#111;'> 223.95KB </span>","children":null,"spread":false},{"title":"led.pbi.xcl <span style='color:#111;'> 11.04KB </span>","children":null,"spread":false},{"title":"clk_conf.pbi.cout <span style='color:#111;'> 9.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"List","children":null,"spread":false},{"title":"Exe","children":[{"title":"STM8_Demo.out <span style='color:#111;'> 64.23KB </span>","children":null,"spread":false},{"title":"STM8_Demo.hex <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"STM8_Demo.ewp <span style='color:#111;'> 57.31KB </span>","children":null,"spread":false},{"title":"STM8_Demo.ewt <span style='color:#111;'> 156.96KB </span>","children":null,"spread":false},{"title":"Backup of STM8_Demo.ewd <span style='color:#111;'> 10.99KB </span>","children":null,"spread":false},{"title":"BuildLog.log <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"STM8_Demo.ewd <span style='color:#111;'> 15.66KB </span>","children":null,"spread":false},{"title":"Backup of STM8_Demo.ewp <span style='color:#111;'> 40.97KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"Obj","children":[{"title":"STM8_Demo.pbd <span style='color:#111;'> 266.28KB </span>","children":null,"spread":false},{"title":"STM8_Demo.pbd.browse <span style='color:#111;'> 266.28KB </span>","children":null,"spread":false},{"title":"iouart.pbi.xcl <span style='color:#111;'> 10.92KB </span>","children":null,"spread":false},{"title":"STM8_Demo.pbd.linf <span style='color:#111;'> 403B </span>","children":null,"spread":false},{"title":"stm8s_interruput.pbi <span style='color:#111;'> 259.30KB </span>","children":null,"spread":false},{"title":"iouart.pbi <span style='color:#111;'> 256.96KB </span>","children":null,"spread":false},{"title":"clk_conf.pbi.xcl <span style='color:#111;'> 10.92KB </span>","children":null,"spread":false},{"title":"stm8s_interruput.pbi.xcl <span style='color:#111;'> 10.93KB </span>","children":null,"spread":false},{"title":"main.pbi.xcl <span style='color:#111;'> 10.92KB </span>","children":null,"spread":false},{"title":"clk_conf.pbi <span style='color:#111;'> 222.43KB </span>","children":null,"spread":false},{"title":"main.pbi <span style='color:#111;'> 256.17KB </span>","children":null,"spread":false},{"title":"led.pbi <span style='color:#111;'> 223.95KB </span>","children":null,"spread":false},{"title":"led.pbi.xcl <span style='color:#111;'> 10.92KB </span>","children":null,"spread":false}],"spread":false},{"title":"List","children":null,"spread":false},{"title":"Exe","children":null,"spread":false}],"spread":true},{"title":"STM8_Demo.eww <span style='color:#111;'> 163B </span>","children":null,"spread":false},{"title":"STM8_Demo.dep <span style='color:#111;'> 13.16KB </span>","children":null,"spread":false},{"title":"Backup (2) of STM8_Demo.ewp <span style='color:#111;'> 40.97KB </span>","children":null,"spread":false},{"title":"settings","children":[{"title":"STM8_Demo.Debug.cspy.ps1 <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"STM8_Demo.dbgdt <span style='color:#111;'> 47.44KB </span>","children":null,"spread":false},{"title":"STM8_Demo.dnx <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"STM8_Demo.Release.general.xcl <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"STM8_Demo.dni <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"STM8_Demo.Release.driver.xcl <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"STM8_Demo.Release.cspy.bat <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"STM8_Demo.wsdt <span style='color:#111;'> 36.50KB </span>","children":null,"spread":false},{"title":"STM8_Demo.cspy.bat <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"STM8_Demo.Debug.driver.xcl <span style='color:#111;'> 91B </span>","children":null,"spread":false},{"title":"STM8_Demo.Release.cspy.ps1 <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"STM8_Demo.Debug.cspy.bat <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"STM8_Demo.Debug.general.xcl <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"USER","children":[{"title":"iouart.c <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"clk_conf.h <span style='color:#111;'> 101B </span>","children":null,"spread":false},{"title":"led.h <span style='color:#111;'> 431B </span>","children":null,"spread":false},{"title":"clk_conf.c <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"led.c <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false},{"title":"type_def.h <span style='color:#111;'> 936B </span>","children":null,"spread":false},{"title":"stm8s_interruput.c <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"iouart.h <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • yaakov_99 :
    不行 不行 不行 不行
    2021-06-09
  • 双月鸟之roc :
    一般吧,可以参考
    2019-12-22

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明