I/O Stream UART context.

Public Attributes#

uint8_t *

UART Rx Buffer.

size_t

UART Rx Buffer length.

uint8_t *

Address of the next byte to be read.

sl_status_t(*

Tx function pointer.

void(*

Pointer to a function handling the Tx Completed event.

sl_status_t(*

DeInit function pointer.

bool

lf_to_crlf

bool

software flow control

uint8_t *

Pointer to where the last control character scan ended.

volatile bool

Transmitter enabled.

bool

Remote Transmitter enabled.

IRQn_Type

Receive IRQ Number.

IRQn_Type

Transmit IRQ Number.

volatile bool

tx_idle. Available only when Power Manager present.

bool

em_req_added. Available only when Power Manager present.

rx_em. Available only when Power Manager present.

tx_em. Available only when Power Manager present.

bool

block. Available only when kernel present.

osMutexId_t

read_lock. Available only when kernel present.

osEventFlagsId_t

rx_data_flag. Available only when kernel present.

osMutexId_t

write_lock. Available only when kernel present.

Public Functions#

__ALIGNED(4) uint8_t read_lock_cb[osMutexCbSize]

read_lock control block. Available only when kernel present.

__ALIGNED(4) uint8_t rx_data_flag_cb[osEventFlagsCbSize]

rx_data_flag control block. Available only when kernel present.

__ALIGNED(4) uint8_t write_lock_cb[osMutexCbSize]

write_lock control block. Available only when kernel present.

Public Attribute Documentation#

dma#

sl_iostream_dma_context_t sl_iostream_uart_context_t::dma

DMA Context.


Definition at line 205 of file platform/service/iostream/inc/sl_iostream_uart.h

rx_buffer#

uint8_t* sl_iostream_uart_context_t::rx_buffer

UART Rx Buffer.


Definition at line 206 of file platform/service/iostream/inc/sl_iostream_uart.h

rx_buffer_len#

size_t sl_iostream_uart_context_t::rx_buffer_len

UART Rx Buffer length.


Definition at line 207 of file platform/service/iostream/inc/sl_iostream_uart.h

rx_read_ptr#

uint8_t* sl_iostream_uart_context_t::rx_read_ptr

Address of the next byte to be read.


Definition at line 208 of file platform/service/iostream/inc/sl_iostream_uart.h

tx#

sl_status_t(* sl_iostream_uart_context_t::tx) (void *context, char c)

Tx function pointer.


Definition at line 209 of file platform/service/iostream/inc/sl_iostream_uart.h

tx_completed#

void(* sl_iostream_uart_context_t::tx_completed) (void *context, bool enable)

Pointer to a function handling the Tx Completed event.


Definition at line 210 of file platform/service/iostream/inc/sl_iostream_uart.h

deinit#

sl_status_t(* sl_iostream_uart_context_t::deinit) (void *context)

DeInit function pointer.


Definition at line 211 of file platform/service/iostream/inc/sl_iostream_uart.h

lf_to_crlf#

bool sl_iostream_uart_context_t::lf_to_crlf

lf_to_crlf


Definition at line 212 of file platform/service/iostream/inc/sl_iostream_uart.h

sw_flow_control#

bool sl_iostream_uart_context_t::sw_flow_control

software flow control


Definition at line 213 of file platform/service/iostream/inc/sl_iostream_uart.h

ctrl_char_scan_ptr#

uint8_t* sl_iostream_uart_context_t::ctrl_char_scan_ptr

Pointer to where the last control character scan ended.


Definition at line 214 of file platform/service/iostream/inc/sl_iostream_uart.h

xon#

volatile bool sl_iostream_uart_context_t::xon

Transmitter enabled.


Definition at line 215 of file platform/service/iostream/inc/sl_iostream_uart.h

remote_xon#

bool sl_iostream_uart_context_t::remote_xon

Remote Transmitter enabled.


Definition at line 216 of file platform/service/iostream/inc/sl_iostream_uart.h

rx_irq_number#

IRQn_Type sl_iostream_uart_context_t::rx_irq_number

Receive IRQ Number.


Definition at line 217 of file platform/service/iostream/inc/sl_iostream_uart.h

tx_irq_number#

IRQn_Type sl_iostream_uart_context_t::tx_irq_number

Transmit IRQ Number.


Definition at line 219 of file platform/service/iostream/inc/sl_iostream_uart.h

tx_idle#

volatile bool sl_iostream_uart_context_t::tx_idle

tx_idle. Available only when Power Manager present.


Definition at line 220 of file platform/service/iostream/inc/sl_iostream_uart.h

em_req_added#

bool sl_iostream_uart_context_t::em_req_added

em_req_added. Available only when Power Manager present.


Definition at line 221 of file platform/service/iostream/inc/sl_iostream_uart.h

rx_em#

sl_power_manager_em_t sl_iostream_uart_context_t::rx_em

rx_em. Available only when Power Manager present.


Definition at line 222 of file platform/service/iostream/inc/sl_iostream_uart.h

tx_em#

sl_power_manager_em_t sl_iostream_uart_context_t::tx_em

tx_em. Available only when Power Manager present.


Definition at line 223 of file platform/service/iostream/inc/sl_iostream_uart.h

block#

bool sl_iostream_uart_context_t::block

block. Available only when kernel present.


Definition at line 226 of file platform/service/iostream/inc/sl_iostream_uart.h

read_lock#

osMutexId_t sl_iostream_uart_context_t::read_lock

read_lock. Available only when kernel present.


Definition at line 227 of file platform/service/iostream/inc/sl_iostream_uart.h

rx_data_flag#

osEventFlagsId_t sl_iostream_uart_context_t::rx_data_flag

rx_data_flag. Available only when kernel present.


Definition at line 229 of file platform/service/iostream/inc/sl_iostream_uart.h

write_lock#

osMutexId_t sl_iostream_uart_context_t::write_lock

write_lock. Available only when kernel present.


Definition at line 231 of file platform/service/iostream/inc/sl_iostream_uart.h

Public Function Documentation#

__ALIGNED#

sl_iostream_uart_context_t::__ALIGNED (4 )

read_lock control block. Available only when kernel present.

Parameters
N/A

Definition at line 228 of file platform/service/iostream/inc/sl_iostream_uart.h

__ALIGNED#

sl_iostream_uart_context_t::__ALIGNED (4 )

rx_data_flag control block. Available only when kernel present.

Parameters
N/A

Definition at line 230 of file platform/service/iostream/inc/sl_iostream_uart.h

__ALIGNED#

sl_iostream_uart_context_t::__ALIGNED (4 )

write_lock control block. Available only when kernel present.

Parameters
N/A

Definition at line 232 of file platform/service/iostream/inc/sl_iostream_uart.h