STM8单片机通过PWM波触发定时器采样

上传者: 20222919 | 上传时间: 2024-05-16 18:05:00 | 文件大小: 76KB | 文件类型: ZIP
使用STM8单片机,将ADC采样设置为外部触发模式,然后使用定时器输出PWM波,可以设置在PWM波的上升沿进行ADC采样,也可以设置在PWM波高电平中间点进行ADC采样。

文件下载

资源详情

[{"title":"( 41 个子文件 76KB ) STM8单片机通过PWM波触发定时器采样","children":[{"title":"main.c.orig <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"BuildLog.log <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"main.h <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 874B </span>","children":null,"spread":false},{"title":"settings","children":[{"title":"power_soft.reggroups <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"power_soft.wsdt <span style='color:#111;'> 26.73KB </span>","children":null,"spread":false},{"title":"led.Debug.cspy.ps1 <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"power_soft.Debug.driver.xcl <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"led.dnx <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"led.wsdt <span style='color:#111;'> 26.51KB </span>","children":null,"spread":false},{"title":"power_soft.Debug.cspy.bat <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"led.dbgdt <span style='color:#111;'> 53.08KB </span>","children":null,"spread":false},{"title":"led.Debug.driver.xcl <span style='color:#111;'> 146B </span>","children":null,"spread":false},{"title":"power_soft.Debug.general.xcl <span style='color:#111;'> 325B </span>","children":null,"spread":false},{"title":"PWM.Debug.cspy.bat <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"power_soft.dnx <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"led.Debug.cspy.bat <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"led.Debug.general.xcl <span style='color:#111;'> 322B </span>","children":null,"spread":false},{"title":"power_soft.dbgdt <span style='color:#111;'> 52.24KB </span>","children":null,"spread":false},{"title":"power_soft.Debug.cspy.ps1 <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"led.ewt <span style='color:#111;'> 161.43KB </span>","children":null,"spread":false},{"title":"led.ewd <span style='color:#111;'> 15.69KB </span>","children":null,"spread":false},{"title":"led.dep <span style='color:#111;'> 7.41KB </span>","children":null,"spread":false},{"title":"HardWare","children":[{"title":"tim1.h <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"delay.h <span style='color:#111;'> 375B </span>","children":null,"spread":false},{"title":"tim1.c <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false},{"title":"led.h <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"adc.h <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"delay.c <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"led.c <span style='color:#111;'> 194B </span>","children":null,"spread":false},{"title":"uart.h <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"adc.c <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"uart.c <span style='color:#111;'> 8.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"Obj","children":null,"spread":false},{"title":"List","children":[{"title":"led.map <span style='color:#111;'> 20.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"Exe","children":[{"title":"power_soft.out <span style='color:#111;'> 34.38KB </span>","children":null,"spread":false},{"title":"led.hex <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"led.out <span style='color:#111;'> 51.55KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"功能说明.txt <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"TermIO.log <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"led.eww <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"led.ewp <span style='color:#111;'> 58.59KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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