![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
STM32
ZhnJa
这个作者很懒,什么都没留下…
展开
-
STM32输出PWM心得1
/* Set the Capture Compare Register value */ TIMx->CCR2 = TIM_OCInitStruct->TIM_Pulse;void TIM_SetCompare2(TIM_TypeDef* TIMx, uint16_t Compare2){ /* Check the parameters */ assert_param(IS_TIM原创 2013-11-22 21:59:33 · 5332 阅读 · 1 评论 -
MDK下STM32工程注意事项
在stm32f10x_conf.h 中更改所需包含的头文件在system_stm32f10x.c中更改系统时钟频率在stm32f10x.h中更改器件的容量,LD,MD,HD,实际上,在Options for target选项中C/C++中Define里面自行更改定义即可。预定义 #define USE_STDPERIPH_DRIVER 表示使用官方库,在Option原创 2013-11-22 22:00:56 · 952 阅读 · 0 评论