|
rusEFI
The most advanced open source ECU
|
Structure representing an UART driver. More...
#include <hal_uart_lld.h>

Data Fields | |
| uartstate_t | state |
| Driver state. | |
| uarttxstate_t | txstate |
| Transmitter state. | |
| uartrxstate_t | rxstate |
| Receiver state. | |
| const UARTConfig * | config |
| Current configuration data. | |
| bool | early |
| Synchronization flag for transmit operations. | |
| thread_reference_t | threadrx |
| Waiting thread on RX. | |
| thread_reference_t | threadtx |
| Waiting thread on TX. | |
| mutex_t | mutex |
| Mutex protecting the peripheral. | |
| UART_DRIVER_EXT_FIELDS LPUART_Type * | lpuart |
| Pointer to the USART registers block. | |
| lpuart_edma_handle_t | dmaHandle |
| LPUART common eDMA channel handle. | |
| edma_handle_t | lpuartRxEdmaHandle |
| eDMA transfer handles. | |
| edma_handle_t | lpuartTxEdmaHandle |
| int | pendingRxIrq |
| Used to trigger the IRQ from our software handler. See uart_lld_callback() and UART_USE_RING_BUFFER. | |
| lpuart_handle_t | rxHandle |
| Used for the RingBuffer mode or to handle UART errors in EDMA mode. | |
| uint8_t | rxRingBuffer [KINETIS_UART_RX_RING_BUFFER_SIZE] |
Structure representing an UART driver.
Definition at line 182 of file hal_uart_lld.h.
| const UARTConfig* UARTDriver::config |
Current configuration data.
Definition at line 198 of file hal_uart_lld.h.
Referenced by uart_lld_start().
| lpuart_edma_handle_t UARTDriver::dmaHandle |
LPUART common eDMA channel handle.
Definition at line 231 of file hal_uart_lld.h.
Referenced by uart_lld_start(), uart_lld_start_receive(), uart_lld_start_send(), uart_lld_stop_receive(), and uart_lld_stop_send().
| bool UARTDriver::early |
Synchronization flag for transmit operations.
Definition at line 203 of file hal_uart_lld.h.
| UART_DRIVER_EXT_FIELDS LPUART_Type* UARTDriver::lpuart |
Pointer to the USART registers block.
Definition at line 226 of file hal_uart_lld.h.
Referenced by uart_lld_blocking_send(), uart_lld_start(), uart_lld_start_receive(), uart_lld_start_send(), uart_lld_stop_receive(), and uart_lld_stop_send().
| edma_handle_t UARTDriver::lpuartRxEdmaHandle |
eDMA transfer handles.
Definition at line 235 of file hal_uart_lld.h.
Referenced by uart_lld_start().
| edma_handle_t UARTDriver::lpuartTxEdmaHandle |
Definition at line 235 of file hal_uart_lld.h.
Referenced by uart_lld_start().
| mutex_t UARTDriver::mutex |
Mutex protecting the peripheral.
Definition at line 217 of file hal_uart_lld.h.
| int UARTDriver::pendingRxIrq |
Used to trigger the IRQ from our software handler. See uart_lld_callback() and UART_USE_RING_BUFFER.
Definition at line 241 of file hal_uart_lld.h.
Referenced by uart_lld_callback(), and uart_lld_start().
| lpuart_handle_t UARTDriver::rxHandle |
Used for the RingBuffer mode or to handle UART errors in EDMA mode.
Definition at line 246 of file hal_uart_lld.h.
Referenced by uart_lld_start(), uart_lld_start_receive(), and uart_lld_stop_receive().
| uint8_t UARTDriver::rxRingBuffer[KINETIS_UART_RX_RING_BUFFER_SIZE] |
Definition at line 249 of file hal_uart_lld.h.
Referenced by uart_lld_start().
| uartrxstate_t UARTDriver::rxstate |
| uartstate_t UARTDriver::state |
Driver state.
Definition at line 186 of file hal_uart_lld.h.
Referenced by uart_lld_start(), and uart_lld_stop().
| thread_reference_t UARTDriver::threadrx |
Waiting thread on RX.
Definition at line 207 of file hal_uart_lld.h.
| thread_reference_t UARTDriver::threadtx |
Waiting thread on TX.
Definition at line 211 of file hal_uart_lld.h.
| uarttxstate_t UARTDriver::txstate |