Data Structures | |
struct | uart_bus_status_t |
struct | uart_channel_attr_t |
struct | uart_handle_t |
Functions | |
uart_result_t | hal_uart_init (uart_handle_t *handle, const uart_channel_attr_t attr) |
Configure UART channel with specific attributes. | |
uart_result_t | hal_uart_write (uart_handle_t *handle, const uint8_t *tx_buffer, const size_t len) |
Write data to UART channel. | |
uart_result_t | hal_uart_read (uart_handle_t *handle, uint8_t *rx_buffer, const size_t len) |
Read data from UART channel. | |
uart_result_t | hal_uart_stop (uart_handle_t *handle) |
Stop UART operation. | |
uart_bus_status_t | hal_uart_get_status (uart_handle_t *handle) |
Get UART bus status. | |
uart_result_t | hal_uart_mutex_take (const uint8_t channel, const uint32_t timeout_ms) |
Try acquire RTOS mutex for specified channel. | |
uart_result_t | hal_uart_mutex_give (const uint8_t channel) |
Release RTOS mutex for specified channel. | |