mikroSDK Reference Manual
|
UART HAL context structure, consisted of the following fields : More...
Data Fields | |
handle_t | handle |
hal_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 HAL context structure, used by every other function later on.
Example
handle_t hal_uart_t::handle |
UART HAL handle.
hal_uart_config_t hal_uart_t::config |
UART HAL configuration structure.
uint8_t* hal_uart_t::tx_ring_buffer |
Pointer to Tx ring buffer.
uint8_t* hal_uart_t::rx_ring_buffer |
Pointer to Rx ring buffer.
bool hal_uart_t::is_tx_irq_enabled |
Tx interrupt enabled.
bool hal_uart_t::is_rx_irq_enabled |
Rx interrupt enabled.
bool hal_uart_t::is_blocking |
Is blocking.