ChibiOS/HAL
6.1.0
|
Structure representing an UART driver. More...
#include <hal_uart_lld.h>
Data Fields | |
uartstate_t | state |
Driver state. More... | |
uarttxstate_t | txstate |
Transmitter state. More... | |
uartrxstate_t | rxstate |
Receiver state. More... | |
const UARTConfig * | config |
Current configuration data. More... | |
bool | early |
Synchronization flag for transmit operations. More... | |
thread_reference_t | threadrx |
Waiting thread on RX. More... | |
thread_reference_t | threadtx |
Waiting thread on TX. More... | |
mutex_t | mutex |
Mutex protecting the peripheral. More... | |
Structure representing an UART driver.
Definition at line 129 of file hal_uart_lld.h.
uartstate_t UARTDriver::state |
Driver state.
Definition at line 133 of file hal_uart_lld.h.
Referenced by uart_lld_start(), uart_lld_stop(), uartObjectInit(), uartReceiveTimeout(), uartSendFullTimeout(), uartSendTimeout(), uartStart(), uartStartReceive(), uartStartReceiveI(), uartStartSend(), uartStartSendI(), uartStop(), uartStopReceive(), uartStopReceiveI(), uartStopSend(), and uartStopSendI().
uarttxstate_t UARTDriver::txstate |
Transmitter state.
Definition at line 137 of file hal_uart_lld.h.
Referenced by uartObjectInit(), uartSendFullTimeout(), uartSendTimeout(), uartStartSend(), uartStartSendI(), uartStop(), uartStopSend(), and uartStopSendI().
uartrxstate_t UARTDriver::rxstate |
Receiver state.
Definition at line 141 of file hal_uart_lld.h.
Referenced by uartObjectInit(), uartReceiveTimeout(), uartStartReceive(), uartStartReceiveI(), uartStop(), uartStopReceive(), and uartStopReceiveI().
const UARTConfig* UARTDriver::config |
Current configuration data.
Definition at line 145 of file hal_uart_lld.h.
Referenced by uartObjectInit(), uartStart(), and uartStop().
bool UARTDriver::early |
Synchronization flag for transmit operations.
Definition at line 150 of file hal_uart_lld.h.
Referenced by uartObjectInit(), uartSendFullTimeout(), and uartSendTimeout().
thread_reference_t UARTDriver::threadrx |
Waiting thread on RX.
Definition at line 154 of file hal_uart_lld.h.
Referenced by uartObjectInit(), and uartReceiveTimeout().
thread_reference_t UARTDriver::threadtx |
Waiting thread on TX.
Definition at line 158 of file hal_uart_lld.h.
Referenced by uartObjectInit(), uartSendFullTimeout(), and uartSendTimeout().
mutex_t UARTDriver::mutex |
Mutex protecting the peripheral.
Definition at line 164 of file hal_uart_lld.h.
Referenced by uartAcquireBus(), uartObjectInit(), and uartReleaseBus().