embedded-framework/utils/UartDevice/readme.md
ssslleep bf6c7f7b38
update utils/UartDevice/readme.md.
Signed-off-by: ssslleep <2720057338@qq.com>
2024-07-27 09:35:49 +00:00

15 lines
644 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# UartDevice模块
该模块是UART设备接口模块提供了UART 设备操作接口通过uart通信操作相关的硬件设备。
# 涉及的知识
* uart通信协议
* 多线程
* C++类和对象
* 函数指针
# 各文件的作用
* **UartDevice.h**为上层应用提供了封装好的函数接口用于与uart硬件设备进行交互。
* **UartDevice.cpp**UartDevice.h中函数接口的具体定义和封装。
* **UartDeviceImpl.cpp/UartDeviceImpl.h**这里面定义和声明的函数是对uart硬件设备更底层更具体的一些操作它们会被提供给UartDevice.cpp做进一步的封装。