STM8单片机编码器使用示例

上传者: 20222919 | 上传时间: 2021-08-20 01:25:16 | 文件大小: 965KB | 文件类型: ZIP
通过STM8单片机的编码器接口,读取点位编码器。使用查询方式和中断方式两种方法来读取编码器的方向和旋转次数。

文件下载

资源详情

[{"title":"( 57 个子文件 965KB ) STM8单片机编码器使用示例","children":[{"title":"encoder.ewd <span style='color:#111;'> 15.69KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 799B </span>","children":null,"spread":false},{"title":"BuildLog.log <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"HardWare","children":[{"title":"delay.c <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"led.h <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"uart.h <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"led.c <span style='color:#111;'> 178B </span>","children":null,"spread":false},{"title":"delay.h <span style='color:#111;'> 375B </span>","children":null,"spread":false},{"title":"uart.c <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"encoder.h <span style='color:#111;'> 133B </span>","children":null,"spread":false},{"title":"encoder.c <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"encoder.dep <span style='color:#111;'> 7.06KB </span>","children":null,"spread":false},{"title":"encoder.ewt <span style='color:#111;'> 161.35KB </span>","children":null,"spread":false},{"title":"settings","children":[{"title":"encoder.dnx <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"encoder.Debug.general.xcl <span style='color:#111;'> 325B </span>","children":null,"spread":false},{"title":"encoder.wsdt <span style='color:#111;'> 25.08KB </span>","children":null,"spread":false},{"title":"encoder.Debug.cspy.bat <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"encoder.Debug.cspy.ps1 <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"encoder.dbgdt <span style='color:#111;'> 50.54KB </span>","children":null,"spread":false},{"title":"encoder.Debug.driver.xcl <span style='color:#111;'> 146B </span>","children":null,"spread":false}],"spread":true},{"title":"encoder.ewp <span style='color:#111;'> 58.46KB </span>","children":null,"spread":false},{"title":"main.h <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"TermIO.log <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"main.c.orig <span style='color:#111;'> 867B </span>","children":null,"spread":false},{"title":"encoder.eww <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"List","children":[{"title":"power_soft.map <span style='color:#111;'> 18.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"Exe","children":[{"title":"encoder.hex <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"power_soft.out <span style='color:#111;'> 47.02KB </span>","children":null,"spread":false}],"spread":false},{"title":"Obj","children":[{"title":"delay.xcl <span style='color:#111;'> 10.41KB </span>","children":null,"spread":false},{"title":"encoder_part2.pbi <span style='color:#111;'> 265.33KB </span>","children":null,"spread":false},{"title":"build.ninja <span style='color:#111;'> 1008B </span>","children":null,"spread":false},{"title":"main.pbi <span style='color:#111;'> 265.36KB </span>","children":null,"spread":false},{"title":"uart.o <span style='color:#111;'> 14.06KB </span>","children":null,"spread":false},{"title":"main.pbi.dep <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"led.pbi.dep <span style='color:#111;'> 266B </span>","children":null,"spread":false},{"title":"led.pbi <span style='color:#111;'> 217.86KB </span>","children":null,"spread":false},{"title":"uart.xcl <span style='color:#111;'> 10.41KB </span>","children":null,"spread":false},{"title":"delay.o <span style='color:#111;'> 8.34KB </span>","children":null,"spread":false},{"title":".ninja_log <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"encoder.pbi <span style='color:#111;'> 218.51KB </span>","children":null,"spread":false},{"title":"encoder.pbi.dep <span style='color:#111;'> 283B </span>","children":null,"spread":false},{"title":"encoder_part1.pbi <span style='color:#111;'> 249.11KB </span>","children":null,"spread":false},{"title":".ninja_deps <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"led.o <span style='color:#111;'> 5.99KB </span>","children":null,"spread":false},{"title":"delay.pbi <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"encoder.o <span style='color:#111;'> 15.09KB </span>","children":null,"spread":false},{"title":"encoder_part0.pbi <span style='color:#111;'> 220.27KB </span>","children":null,"spread":false},{"title":"encoder.pbw <span style='color:#111;'> 1.29MB </span>","children":null,"spread":false},{"title":"encoder.xcl <span style='color:#111;'> 10.42KB </span>","children":null,"spread":false},{"title":"delay.pbi.dep <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"main.xcl <span style='color:#111;'> 10.39KB </span>","children":null,"spread":false},{"title":"encoder.pbd <span style='color:#111;'> 267.89KB </span>","children":null,"spread":false},{"title":"uart.pbi <span style='color:#111;'> 248.61KB </span>","children":null,"spread":false},{"title":"uart.pbi.dep <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 8.31KB </span>","children":null,"spread":false},{"title":"encoder.pbd.browse <span style='color:#111;'> 267.89KB </span>","children":null,"spread":false},{"title":"led.xcl <span style='color:#111;'> 10.41KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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