Go to the source code of this file.
Classes | |
struct | _hal_uart_state |
uart state structure. More... | |
Typedefs | |
typedef struct _hal_uart_state | hal_uart_state_t |
uart state structure. More... | |
Functions | |
hal_uart_status_t | HAL_UartDeinit (hal_uart_handle_t handle) |
Deinitializes a UART instance. More... | |
hal_uart_status_t | HAL_UartEnterLowpower (hal_uart_handle_t handle) |
Prepares to enter low power consumption. More... | |
hal_uart_status_t | HAL_UartExitLowpower (hal_uart_handle_t handle) |
Restores from low power consumption. More... | |
static hal_uart_status_t | HAL_UartGetStatus (status_t status) |
hal_uart_status_t | HAL_UartInit (hal_uart_handle_t handle, hal_uart_config_t *config) |
Initializes a UART instance with the UART handle and the user configuration structure. More... | |
hal_uart_status_t | HAL_UartReceiveBlocking (hal_uart_handle_t handle, uint8_t *data, size_t length) |
Reads RX data register using a blocking method. More... | |
hal_uart_status_t | HAL_UartSendBlocking (hal_uart_handle_t handle, const uint8_t *data, size_t length) |
Writes to the TX register using a blocking method. More... | |
Variables | |
static LPUART_Type *const | s_LpuartAdapterBase [] = LPUART_BASE_PTRS |
typedef struct _hal_uart_state hal_uart_state_t |
uart state structure.
|
static |
Definition at line 126 of file lpuart_adapter.c.
|
static |
Definition at line 66 of file lpuart_adapter.c.