EXPEED_OS  1.1.2
结构体 | 枚举 | 函数
hal_uart.h 文件参考

本文件声明了uart硬件抽象层接口和相关参数 更多...

#include <stdint.h>
hal_uart.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  hal_uart_config_t
 
struct  hal_uart_dev_t
 

枚举

enum  hal_hal_uart_mode_t { UART_WORK_MODE_TX = 0x0, UART_WORK_MODE_RX, UART_WORK_MODE_TX_RX }
 
enum  hal_hal_uart_data_width_t { UART_DATA_WIDTH_5_BITS = 0x0, UART_DATA_WIDTH_6_BITS, UART_DATA_WIDTH_7_BITS, UART_DATA_WIDTH_8_BITS }
 
enum  hal_hal_uart_parity_check_t { UART_NO_PARITY = 0x0, UART_PARITY_CHECK_EVEN, UART_PARITY_CHECK_ODD }
 
enum  hal_hal_uart_stop_bits_t { UART_STOP_BIT_1 = 0x0, UART_STOP_BIT_1_5, UART_STOP_BIT_2 }
 
enum  hal_hal_uart_flow_control_t { UART_FLOW_CONTROL_DISABLED = 0x0, UART_FLOW_CONTROL_RTS, UART_FLOW_CONTROL_CTS, UART_FLOW_CONTROL_CTS_RTS }
 

函数

int32_t hal_uart_init (hal_uart_dev_t *uart)
 初始化UART 更多...
 
int32_t hal_uart_deinit (hal_uart_dev_t *uart)
 
int32_t hal_uart_transmit (hal_uart_dev_t *uart, const void *buffer, uint32_t size, uint32_t timeout)
 串口直接发送数据 更多...
 
int32_t hal_uart_receive (hal_uart_dev_t *uart, void *buffer, uint32_t size, uint32_t timeout)
 串口接收数据 更多...
 

详细描述

本文件声明了uart硬件抽象层接口和相关参数

作者
EXPEED
版本
1.0.0