摘要: 1、使能定时器3和相关IO口时钟。 使能定时器3时钟:RCC_APB1PeriphClockCmd(); 使能GPIOB时钟:RCC_APB2PeriphClockCmd(); 2、初始化IO口为复用功能输出。函数:GPIO_Init(); GPIO_InitStructure.GPIO_Mode 阅读全文
posted @ 2019-10-17 15:40 一颗蘋果 阅读(2284) 评论(0) 推荐(0) 编辑