mirror of
https://gitee.com/jiuyilian/embedded-framework.git
synced 2025-01-06 10:16:51 -05:00
15 lines
644 B
Markdown
15 lines
644 B
Markdown
# UartDevice模块
|
||
该模块是UART设备接口模块,提供了UART 设备操作接口,通过uart通信操作相关的硬件设备。
|
||
|
||
# 涉及的知识
|
||
* uart通信协议
|
||
* 多线程
|
||
* C++类和对象
|
||
* 函数指针
|
||
|
||
|
||
# 各文件的作用
|
||
* **UartDevice.h**:为上层应用提供了封装好的函数接口,用于与uart硬件设备进行交互。
|
||
* **UartDevice.cpp**:UartDevice.h中函数接口的具体定义和封装。
|
||
* **UartDeviceImpl.cpp/UartDeviceImpl.h**:这里面定义和声明的函数是对uart硬件设备更底层更具体的一些操作,它们会被提供给UartDevice.cpp做进一步的封装。
|