mikroSDK Reference Manual
|
UART driver context structure, consisted of the following fields : More...
Data Fields | |
handle_t | handle |
uart_config_t | config |
uint8_t * | tx_ring_buffer |
uint8_t * | rx_ring_buffer |
bool | is_tx_irq_enabled |
bool | is_rx_irq_enabled |
bool | is_blocking |
UART driver context structure, used by every other function later on.
Example
handle_t uart_t::handle |
UART handle.
uart_config_t uart_t::config |
UART configuration structure.
uint8_t* uart_t::tx_ring_buffer |
Pointer to Tx ring buffer.
uint8_t* uart_t::rx_ring_buffer |
Pointer to Rx ring buffer.
bool uart_t::is_tx_irq_enabled |
Tx interrupt enabled.
bool uart_t::is_rx_irq_enabled |
Rx interrupt enabled.
bool uart_t::is_blocking |
Is blocking.