摘要: 当出现这个问题时,往往是因为你没有在RCC寄存器中把相关的时钟使能打开。 配置寄存器之前记得调用"RCC_AxxxPeriphClockCmd"先打开需要配置的时钟源,别调用了“RCC_AxxxPeriphResetCmd"。 相关函数定义源代码如下: 阅读全文
posted @ 2018-01-18 20:09 QIYUEXIN 阅读(3149) 评论(0) 推荐(0) 编辑
摘要: 管脚结构图 GPIO管脚所有模式及相关配置 • Input floating• Input pull-up• Input-pull-down• Analog• Output open-drain• Output push-pull• Alternate function push-pull• Alt 阅读全文
posted @ 2018-01-18 00:05 QIYUEXIN 阅读(278) 评论(0) 推荐(0) 编辑