摘要: 最近学到stm32的串口发送,一直不理解他是如何发送和接收每个字节的,以及汉字是如何进行传输的 根据对usart的配置可以知道,串口一次传输8个位。而我们知道一个汉字是2个字节及16位。于是猜测传输一个汉字需要两次发送。 设置代码: 即当接收一次数据就发送一个0。于是我在串口发送助手中发送一个汉字 阅读全文
posted @ 2022-11-06 16:06 轩驰 阅读(89) 评论(0) 推荐(0)
摘要: ![image](https://img2022.cnblogs.com/blog/3000994/202210/3000994-20221023172749235-841507344.png)![image](https://img2022.cnblogs.com/blog/3000994/202210/3000994-20221023172756220-1194611119.png)![ima... 阅读全文
posted @ 2022-10-23 17:29 轩驰 阅读(26) 评论(0) 推荐(0)
摘要: 总结 阅读全文
posted @ 2022-10-23 17:27 轩驰 阅读(28) 评论(0) 推荐(0)
摘要: ![](https://img2022.cnblogs.com/blog/3000994/202210/3000994-20221023171736530-515727424.png) ![](https://img2022.cnblogs.com/blog/3000994/202210/3000994-20221023171744857-1238109187.png) ![](https://i 阅读全文
posted @ 2022-10-23 17:20 轩驰 阅读(48) 评论(0) 推荐(0)
摘要: ![](https://img2022.cnblogs.com/blog/3000994/202210/3000994-20221023171601353-39423422.png) ![](https://img2022.cnblogs.com/blog/3000994/202210/3000994-20221023171608698-274278824.png) ![](https://img 阅读全文
posted @ 2022-10-23 17:16 轩驰 阅读(19) 评论(0) 推荐(0)
摘要: ![](https://img2022.cnblogs.com/blog/3000994/202210/3000994-20221019092915763-842105325.png) ![](https://img2022.cnblogs.com/blog/3000994/202210/3000994-20221019092918403-1957278632.png) ![](https://i 阅读全文
posted @ 2022-10-19 09:30 轩驰 阅读(37) 评论(0) 推荐(0)
摘要: ![](https://img2022.cnblogs.com/blog/3000994/202210/3000994-20221018150414771-486257237.png) ![](https://img2022.cnblogs.com/blog/3000994/202210/3000994-20221018150442525-309490240.png) ![](https://im 阅读全文
posted @ 2022-10-18 15:03 轩驰 阅读(45) 评论(0) 推荐(0)
摘要: GPIO 引脚号定义 #define GPIO_Pin_0 ((uint16_t)0x0001) /*!< 选择Pin0 */ //(00000000 00000001)b #define GPIO_Pin_1 ((uint16_t)0x0002) /*!< 选择Pin1 */ //(0000000 阅读全文
posted @ 2022-10-15 22:19 轩驰 阅读(105) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-10-14 11:23 轩驰 阅读(27) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-10-13 16:29 轩驰 阅读(34) 评论(0) 推荐(0)