I/O Stream UART context.
Public Attributes#
RX DMA Context.
UART Rx Buffer.
UART Rx Buffer length.
Address of the next byte to be read.
Flag used to indicate if reception buffer is empty.
Subscriber for new data on RX.
Pointer to UART Peripheral context.
DMA TX Context.
TX DMA transfer active flag.
Head pointer for pending async write ops.
Asynchronous tx mode.
Indicates if the transmitter is idle, keeping the clock enabled until idle is reached.
em_req_added. Available only when Power Manager present.
Enables reception while sleeping and keeps the clock enabled in deep sleep.
Indicates if high frequency mode is enabled.
lf_to_crlf
software flow control
Pointer to where the last control character scan ended.
Transmitter enabled.
block. Available only when kernel present.
read_lock. Available only when kernel present.
rx_data_flag. Available only when kernel present.
write_lock. Available only when kernel present.
Public Functions#
read_lock control block. Available only when kernel present.
rx_data_flag control block. Available only when kernel present.
write_lock control block. Available only when kernel present.
Public Attribute Documentation#
rx_empty#
bool sl_iostream_uart_context_t::rx_empty
Flag used to indicate if reception buffer is empty.
rx_subscriber#
sl_iostream_uart_rx_subscriber_t sl_iostream_uart_context_t::rx_subscriber
Subscriber for new data on RX.
uart_periph#
sli_iostream_uart_periph_t* sl_iostream_uart_context_t::uart_periph
Pointer to UART Peripheral context.
async_transfer_in_progress#
bool sl_iostream_uart_context_t::async_transfer_in_progress
TX DMA transfer active flag.
pending_write_ops#
sl_slist_node_t* sl_iostream_uart_context_t::pending_write_ops
Head pointer for pending async write ops.
tx_idle#
volatile bool sl_iostream_uart_context_t::tx_idle
Indicates if the transmitter is idle, keeping the clock enabled until idle is reached.
em_req_added#
bool sl_iostream_uart_context_t::em_req_added
em_req_added. Available only when Power Manager present.
rx_enable#
bool sl_iostream_uart_context_t::rx_enable
Enables reception while sleeping and keeps the clock enabled in deep sleep.
enable_high_frequency#
bool sl_iostream_uart_context_t::enable_high_frequency
Indicates if high frequency mode is enabled.
ctrl_char_scan_ptr#
uint8_t* sl_iostream_uart_context_t::ctrl_char_scan_ptr
Pointer to where the last control character scan ended.
read_lock#
osMutexId_t sl_iostream_uart_context_t::read_lock
read_lock. Available only when kernel present.
rx_data_flag#
osEventFlagsId_t sl_iostream_uart_context_t::rx_data_flag
rx_data_flag. Available only when kernel present.
write_lock#
osMutexId_t sl_iostream_uart_context_t::write_lock
write_lock. Available only when kernel present.
Public Function Documentation#
__ALIGNED#
sl_iostream_uart_context_t::__ALIGNED (4 )
read_lock control block. Available only when kernel present.
Type | Direction | Argument Name | Description |
---|---|---|---|
4 | N/A |
__ALIGNED#
sl_iostream_uart_context_t::__ALIGNED (4 )
rx_data_flag control block. Available only when kernel present.
Type | Direction | Argument Name | Description |
---|---|---|---|
4 | N/A |
__ALIGNED#
sl_iostream_uart_context_t::__ALIGNED (4 )
write_lock control block. Available only when kernel present.
Type | Direction | Argument Name | Description |
---|---|---|---|
4 | N/A |