摘要: 在 STM32 中使用环形队列的方式接收串口数据 #include <stdio.h> #include <stm32f10x.h> #include <stm32f10x_usart.h> // 定义环形队列的结构体 typedef struct { uint8_t *buffer; // 数据缓 阅读全文
posted @ 2024-01-16 16:49 huameixiao 阅读(165) 评论(0) 推荐(0) 编辑