UART 串口相关库函数
摘要:串口的各种函数,其实都是围绕对CR1到CR3这几个寄存器进行配置,串口有很多功能,都没用到,这里先列一些平时会用到的函数。以下是串口初始化的一个参考函数:void uart_init(u32 bound){ GPIO_InitTypeDef GPIO_InitStructure; //对...
阅读全文
posted @ 2015-07-31 10:06
posted @ 2015-07-31 10:06
posted @ 2015-07-30 09:40
posted @ 2015-07-29 10:35
posted @ 2015-07-28 11:26
posted @ 2015-07-22 22:51
posted @ 2015-07-20 18:04