STM32f103c8t6编码器.zip

上传者: 39002536 | 上传时间: 2020-04-01 20:39:49 | 文件大小: 309KB | 文件类型: ZIP
1.适用于STM32f103c8t6读取正交编码器角度 2.PB6->A相 PB7->B相 PA1->Z相 3.记得ABZ相输出上拉 4.我使用的是2500p/r的编码器。如果想得出360度,但是你不是这个规格的,记得调整两个地方 main.c的 count = TIM4->CNT*360/10000; encode.c的 TIM_TimeBaseStructure.TIM_Period = 10000; 5.编译通过,下载通过,欢迎下载讨论~

文件下载

资源详情

( 80 个子文件 309KB ) STM32f103c8t6编码器.zip
STM32f103c8t6编码器
HARDWARE
EXTI
exti.h 141B
exti.c 939B
ENCODE
encode.c 3.07KB
encode.h 146B
NVIC
nvic.c 2.05KB
nvic.h 149B
KEY
key.h 1.16KB
key.c 1.78KB
LED
led.h 638B
led.c 1.27KB
SYSTEM
usart
usart.c 4.67KB
usart.h 1.25KB
delay
delay.h 1.94KB
delay.c 7.74KB
sys
sys.c 876B
sys.h 2.74KB
CORE
core_cm3.c 16.87KB
core_cm3.h 83.71KB
startup_stm32f10x_hd.s 15.14KB
keilkilll.bat 399B
STM32F10x_FWLib
src
misc.c 6.88KB
stm32f10x_flash.c 61.08KB
stm32f10x_fsmc.c 34.65KB
stm32f10x_spi.c 29.52KB
stm32f10x_tim.c 106.60KB
stm32f10x_gpio.c 22.68KB
stm32f10x_dma.c 28.91KB
stm32f10x_dbgmcu.c 5.03KB
stm32f10x_sdio.c 28.25KB
stm32f10x_i2c.c 44.71KB
stm32f10x_adc.c 46.09KB
stm32f10x_bkp.c 8.26KB
stm32f10x_dac.c 18.64KB
stm32f10x_exti.c 6.80KB
stm32f10x_usart.c 37.41KB
stm32f10x_pwr.c 8.55KB
stm32f10x_iwdg.c 4.80KB
stm32f10x_rcc.c 50.07KB
stm32f10x_cec.c 11.38KB
stm32f10x_can.c 44.05KB
stm32f10x_rtc.c 8.40KB
stm32f10x_wwdg.c 5.60KB
stm32f10x_crc.c 3.27KB
inc
stm32f10x_wwdg.h 2.90KB
stm32f10x_dac.h 14.88KB
stm32f10x_sdio.h 21.35KB
stm32f10x_spi.h 17.31KB
stm32f10x_adc.h 21.18KB
stm32f10x_i2c.h 29.33KB
stm32f10x_crc.h 2.11KB
stm32f10x_pwr.h 4.28KB
stm32f10x_dma.h 20.27KB
stm32f10x_exti.h 6.66KB
stm32f10x_flash.h 24.85KB
stm32f10x_usart.h 16.16KB
stm32f10x_iwdg.h 3.74KB
stm32f10x_rtc.h 3.77KB
stm32f10x_bkp.h 7.38KB
stm32f10x_can.h 26.91KB
stm32f10x_cec.h 6.42KB
stm32f10x_rcc.h 29.74KB
stm32f10x_dbgmcu.h 3.73KB
stm32f10x_fsmc.h 26.38KB
stm32f10x_gpio.h 19.70KB
misc.h 8.77KB
stm32f10x_tim.h 51.20KB
USER
stm32f10x_it.h 1.94KB
USART.uvopt 22.33KB
USART.uvoptx 21.30KB
stm32f10x_conf.h 3.16KB
system_stm32f10x.h 2.04KB
USART.uvgui.szy 73.14KB
USART.uvguix.Administrator 76.63KB
USART.uvproj 21.02KB
stm32f10x_it.c 2.73KB
stm32f10x.h 619.08KB
system_stm32f10x.c 35.72KB
main.c 514B
JLinkSettings.ini 671B
OBJ
ENCODE.hex 13.08KB
[{"title":"( 80 个子文件 309KB ) STM32f103c8t6编码器.zip","children":[{"title":"STM32f103c8t6编码器","children":[{"title":"HARDWARE","children":[{"title":"EXTI","children":[{"title":"exti.h <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"exti.c <span style='color:#111;'> 939B </span>","children":null,"spread":false}],"spread":true},{"title":"ENCODE","children":[{"title":"encode.c <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"encode.h <span style='color:#111;'> 146B </span>","children":null,"spread":false}],"spread":true},{"title":"NVIC","children":[{"title":"nvic.c <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"nvic.h <span style='color:#111;'> 149B </span>","children":null,"spread":false}],"spread":true},{"title":"KEY","children":[{"title":"key.h <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"key.c <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"LED","children":[{"title":"led.h <span style='color:#111;'> 638B </span>","children":null,"spread":false},{"title":"led.c <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SYSTEM","children":[{"title":"usart","children":[{"title":"usart.c <span style='color:#111;'> 4.67KB </span>","children":null,"spread":false},{"title":"usart.h <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"delay","children":[{"title":"delay.h <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"delay.c <span style='color:#111;'> 7.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"sys","children":[{"title":"sys.c <span style='color:#111;'> 876B </span>","children":null,"spread":false},{"title":"sys.h <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"CORE","children":[{"title":"core_cm3.c <span style='color:#111;'> 16.87KB </span>","children":null,"spread":false},{"title":"core_cm3.h <span style='color:#111;'> 83.71KB </span>","children":null,"spread":false},{"title":"startup_stm32f10x_hd.s <span style='color:#111;'> 15.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"keilkilll.bat <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"STM32F10x_FWLib","children":[{"title":"src","children":[{"title":"misc.c <span style='color:#111;'> 6.88KB </span>","children":null,"spread":false},{"title":"stm32f10x_flash.c <span style='color:#111;'> 61.08KB </span>","children":null,"spread":false},{"title":"stm32f10x_fsmc.c <span style='color:#111;'> 34.65KB </span>","children":null,"spread":false},{"title":"stm32f10x_spi.c <span style='color:#111;'> 29.52KB </span>","children":null,"spread":false},{"title":"stm32f10x_tim.c <span style='color:#111;'> 106.60KB </span>","children":null,"spread":false},{"title":"stm32f10x_gpio.c <span style='color:#111;'> 22.68KB </span>","children":null,"spread":false},{"title":"stm32f10x_dma.c <span style='color:#111;'> 28.91KB </span>","children":null,"spread":false},{"title":"stm32f10x_dbgmcu.c <span style='color:#111;'> 5.03KB </span>","children":null,"spread":false},{"title":"stm32f10x_sdio.c <span style='color:#111;'> 28.25KB </span>","children":null,"spread":false},{"title":"stm32f10x_i2c.c <span style='color:#111;'> 44.71KB </span>","children":null,"spread":false},{"title":"stm32f10x_adc.c <span style='color:#111;'> 46.09KB </span>","children":null,"spread":false},{"title":"stm32f10x_bkp.c <span style='color:#111;'> 8.26KB </span>","children":null,"spread":false},{"title":"stm32f10x_dac.c <span style='color:#111;'> 18.64KB </span>","children":null,"spread":false},{"title":"stm32f10x_exti.c <span style='color:#111;'> 6.80KB </span>","children":null,"spread":false},{"title":"stm32f10x_usart.c <span style='color:#111;'> 37.41KB </span>","children":null,"spread":false},{"title":"stm32f10x_pwr.c <span style='color:#111;'> 8.55KB </span>","children":null,"spread":false},{"title":"stm32f10x_iwdg.c <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"stm32f10x_rcc.c <span style='color:#111;'> 50.07KB </span>","children":null,"spread":false},{"title":"stm32f10x_cec.c <span style='color:#111;'> 11.38KB </span>","children":null,"spread":false},{"title":"stm32f10x_can.c <span style='color:#111;'> 44.05KB </span>","children":null,"spread":false},{"title":"stm32f10x_rtc.c <span style='color:#111;'> 8.40KB </span>","children":null,"spread":false},{"title":"stm32f10x_wwdg.c <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"stm32f10x_crc.c <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false}],"spread":false},{"title":"inc","children":[{"title":"stm32f10x_wwdg.h <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"stm32f10x_dac.h <span style='color:#111;'> 14.88KB </span>","children":null,"spread":false},{"title":"stm32f10x_sdio.h <span style='color:#111;'> 21.35KB </span>","children":null,"spread":false},{"title":"stm32f10x_spi.h <span style='color:#111;'> 17.31KB </span>","children":null,"spread":false},{"title":"stm32f10x_adc.h <span style='color:#111;'> 21.18KB </span>","children":null,"spread":false},{"title":"stm32f10x_i2c.h <span style='color:#111;'> 29.33KB </span>","children":null,"spread":false},{"title":"stm32f10x_crc.h <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"stm32f10x_pwr.h <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"stm32f10x_dma.h <span style='color:#111;'> 20.27KB </span>","children":null,"spread":false},{"title":"stm32f10x_exti.h <span style='color:#111;'> 6.66KB </span>","children":null,"spread":false},{"title":"stm32f10x_flash.h <span style='color:#111;'> 24.85KB </span>","children":null,"spread":false},{"title":"stm32f10x_usart.h <span style='color:#111;'> 16.16KB </span>","children":null,"spread":false},{"title":"stm32f10x_iwdg.h <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"stm32f10x_rtc.h <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"stm32f10x_bkp.h <span style='color:#111;'> 7.38KB </span>","children":null,"spread":false},{"title":"stm32f10x_can.h <span style='color:#111;'> 26.91KB </span>","children":null,"spread":false},{"title":"stm32f10x_cec.h <span style='color:#111;'> 6.42KB </span>","children":null,"spread":false},{"title":"stm32f10x_rcc.h <span style='color:#111;'> 29.74KB </span>","children":null,"spread":false},{"title":"stm32f10x_dbgmcu.h <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false},{"title":"stm32f10x_fsmc.h <span style='color:#111;'> 26.38KB </span>","children":null,"spread":false},{"title":"stm32f10x_gpio.h <span style='color:#111;'> 19.70KB </span>","children":null,"spread":false},{"title":"misc.h <span style='color:#111;'> 8.77KB </span>","children":null,"spread":false},{"title":"stm32f10x_tim.h <span style='color:#111;'> 51.20KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"USER","children":[{"title":"stm32f10x_it.h <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"USART.uvopt <span style='color:#111;'> 22.33KB </span>","children":null,"spread":false},{"title":"USART.uvoptx <span style='color:#111;'> 21.30KB </span>","children":null,"spread":false},{"title":"stm32f10x_conf.h <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"system_stm32f10x.h <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"USART.uvgui.szy <span style='color:#111;'> 73.14KB </span>","children":null,"spread":false},{"title":"USART.uvguix.Administrator <span style='color:#111;'> 76.63KB </span>","children":null,"spread":false},{"title":"USART.uvproj <span style='color:#111;'> 21.02KB </span>","children":null,"spread":false},{"title":"stm32f10x_it.c <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false},{"title":"stm32f10x.h <span style='color:#111;'> 619.08KB </span>","children":null,"spread":false},{"title":"system_stm32f10x.c <span style='color:#111;'> 35.72KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 514B </span>","children":null,"spread":false},{"title":"JLinkSettings.ini <span style='color:#111;'> 671B </span>","children":null,"spread":false}],"spread":false},{"title":"OBJ","children":[{"title":"ENCODE.hex <span style='color:#111;'> 13.08KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • z357925553 :
    编译不过 报错
    2021-03-23

免责申明

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