rusEFI
The most advanced open source ECU
|
KINETIS UART subsystem low level driver source.
Definition in file hal_uart_lld.c.
Functions | |
static void | uart_enter_rx_idle_loop (UARTDriver *uartp) |
Puts the receiver in the UART_RX_IDLE state. | |
void | uart_lld_callback (LPUART_Type *base, void *handle, status_t status, void *userData) |
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. | |
void | uart_lld_blocking_send (UARTDriver *uartp, size_t n, const void *txbuf) |
Variables | |
UARTDriver | UARTD1 |
UART1 driver identifier. | |
UARTDriver | UARTD2 |
UARTDriver | UARTD3 |