|
ChibiOS/HAL 9.0.0
|
PLATFORM UART subsystem low level driver header. More...
Go to the source code of this file.
Data Structures | |
| struct | hal_uart_config |
| Driver configuration structure. More... | |
| struct | hal_uart_driver |
| Structure representing an UART driver. More... | |
Macros | |
PLATFORM configuration options | |
| #define | PLATFORM_UART_USE_UART1 FALSE |
| UART driver enable switch. | |
Typedefs | |
| typedef uint32_t | uartflags_t |
| UART driver condition flags type. | |
| typedef struct hal_uart_driver | UARTDriver |
| Type of structure representing an UART driver. | |
| typedef void(* | uartcb_t) (UARTDriver *uartp) |
| Generic UART notification callback type. | |
| typedef void(* | uartccb_t) (UARTDriver *uartp, uint16_t c) |
| Character received UART notification callback type. | |
| typedef void(* | uartecb_t) (UARTDriver *uartp, uartflags_t e) |
| Receive error UART notification callback type. | |
| typedef struct hal_uart_config | UARTConfig |
| Driver configuration structure. | |
Functions | |
| void | uart_lld_init (void) |
| Low level UART driver initialization. | |
| void | uart_lld_start (UARTDriver *uartp) |
| Configures and activates the UART peripheral. | |
| void | uart_lld_stop (UARTDriver *uartp) |
| Deactivates the UART peripheral. | |
| void | uart_lld_start_send (UARTDriver *uartp, size_t n, const void *txbuf) |
| Starts a transmission on the UART peripheral. | |
| size_t | uart_lld_stop_send (UARTDriver *uartp) |
| Stops any ongoing transmission. | |
| void | uart_lld_start_receive (UARTDriver *uartp, size_t n, void *rxbuf) |
| Starts a receive operation on the UART peripheral. | |
| size_t | uart_lld_stop_receive (UARTDriver *uartp) |
| Stops any ongoing receive operation. | |
PLATFORM UART subsystem low level driver header.
Definition in file hal_uart_lld.h.