mikroSDK Reference Manual
hal_uart_t Struct Reference

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
 

Detailed Description

UART HAL context structure, used by every other function later on.

Example

static hal_uart_t hal_uart; // UART HAL context structure.

Field Documentation

◆ handle

handle_t hal_uart_t::handle

UART HAL handle.

◆ config

hal_uart_config_t hal_uart_t::config

UART HAL configuration structure.

◆ tx_ring_buffer

uint8_t* hal_uart_t::tx_ring_buffer

Pointer to Tx ring buffer.

◆ rx_ring_buffer

uint8_t* hal_uart_t::rx_ring_buffer

Pointer to Rx ring buffer.

◆ is_tx_irq_enabled

bool hal_uart_t::is_tx_irq_enabled

Tx interrupt enabled.

◆ is_rx_irq_enabled

bool hal_uart_t::is_rx_irq_enabled

Rx interrupt enabled.

◆ is_blocking

bool hal_uart_t::is_blocking

Is blocking.

hal_uart_t
UART HAL context structure, consisted of the following fields :
Definition: hal_uart.h:183