stm32_uart:stm32 uart驱动程序

时间:2024-03-13 02:41:13
【文件属性】:
文件名称:stm32_uart:stm32 uart驱动程序
文件大小:476KB
文件格式:ZIP
更新时间:2024-03-13 02:41:13
C Stm32_uart驱动程序 该驱动程序还使用中断和可调缓冲区进行发送和接收。 接收时,可以对接收到的每个字符使用回调函数。 因此,例如可以检测行尾字符。 初始化将在首次使用期间发生,因此没有uart_init函数。 可用于微控制器系列 stm32f0xx stm32f1xx stm32f2xx stm32f3xx stm32f4xx stm32f7xx stm32h7xx 示例应用 app_uart_test:此程序显示如何通过逐行处理来接收和转发在串行线上接收到的文本数据。 Uart功能 uartx_sendchar(char c):向usart发送一个字符注意:如果TX缓冲区已满,它将等待直到其中有可用空间 uartx_getchar(char * c); 在uart rx上接收字符注意:如果return = 0->未接收到字符(不阻止程序运行),如果return = 1
【文件预览】:
stm32_uart-master
----Examples()
--------uart_f103c8t.zip(466KB)
----App()
--------app_uart_test.c(2KB)
----README.md(2KB)
----Drivers()
--------stm32f4xx()
--------stm32f7xx()
--------stm32f0xx()
--------stm32h7xx()
--------stm32f1xx()
--------stm32f3xx()
--------stm32f2xx()

网友评论