欢迎加入EEWorld参考设计群,也许能碰到搞同一个设计的小伙伴,群聊设计经验和难点。 入群方式:微信搜索“helloeeworld”或者扫描二维码,备注:参考设计,即可被拉入群。 另外,如您在下载此设计遇到问题,也可以微信添加“helloeeworld”及时沟通。
本系列文章统一围绕STM32F103C8T6最小系统开发板进行记录,如涉及其他开发板将会特别说明。 static void _timeBase_init(TIM_TypeDef *tim, u16 arr, u16 psc) { TIM_TimeBaseInitTypeDef timBase; timBase.TIM_Period = arr; timBase.TIM_Prescaler = ...