UART handle Structure definition. More...
#include <gr55xx_hal_uart.h>
Data Fields | |
uart_regs_t * | p_instance |
uart_init_t | init |
uint8_t * | p_tx_buffer |
uint16_t | tx_xfer_size |
__IO uint16_t | tx_xfer_count |
uint8_t * | p_rx_buffer |
uint16_t | rx_xfer_size |
__IO uint16_t | rx_xfer_count |
dma_handle_t * | p_dmatx |
dma_handle_t * | p_dmarx |
functional_state_t | dma_tx_mode |
functional_state_t | dma_rx_mode |
hal_lock_t | lock |
__IO hal_uart_state_t | tx_state |
__IO hal_uart_state_t | rx_state |
__IO uint32_t | error_code |
uint32_t | retention [8] |
UART handle Structure definition.
functional_state_t _uart_handle::dma_rx_mode |
UART Rx DMA mode state
functional_state_t _uart_handle::dma_tx_mode |
UART Tx DMA mode state
__IO uint32_t _uart_handle::error_code |
UART Error code
uart_init_t _uart_handle::init |
UART communication parameters
hal_lock_t _uart_handle::lock |
Locking object
dma_handle_t* _uart_handle::p_dmarx |
UART Rx DMA Handle parameters
dma_handle_t* _uart_handle::p_dmatx |
UART Tx DMA Handle parameters
uart_regs_t* _uart_handle::p_instance |
UART registers base address
uint8_t* _uart_handle::p_rx_buffer |
Pointer to UART Rx transfer Buffer
uint8_t* _uart_handle::p_tx_buffer |
Pointer to UART Tx transfer Buffer
uint32_t _uart_handle::retention[8] |
UART important register information.
__IO hal_uart_state_t _uart_handle::rx_state |
UART state information related to Rx operations. This parameter can be a value of hal_uart_state_t
__IO uint16_t _uart_handle::rx_xfer_count |
UART Rx Transfer Counter
uint16_t _uart_handle::rx_xfer_size |
UART Rx Transfer size
__IO hal_uart_state_t _uart_handle::tx_state |
UART state information related to Tx operations. This parameter can be a value of hal_uart_state_t
__IO uint16_t _uart_handle::tx_xfer_count |
UART Tx Transfer Counter
uint16_t _uart_handle::tx_xfer_size |
UART Tx Transfer size