_uart_handle Struct Reference

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_tp_dmatx
 
dma_handle_tp_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]
 

Detailed Description

UART handle Structure definition.

Field Documentation

◆ dma_rx_mode

functional_state_t _uart_handle::dma_rx_mode

UART Rx DMA mode state

◆ dma_tx_mode

functional_state_t _uart_handle::dma_tx_mode

UART Tx DMA mode state

◆ error_code

__IO uint32_t _uart_handle::error_code

UART Error code

◆ init

uart_init_t _uart_handle::init

UART communication parameters

◆ lock

hal_lock_t _uart_handle::lock

Locking object

◆ p_dmarx

dma_handle_t* _uart_handle::p_dmarx

UART Rx DMA Handle parameters

◆ p_dmatx

dma_handle_t* _uart_handle::p_dmatx

UART Tx DMA Handle parameters

◆ p_instance

uart_regs_t* _uart_handle::p_instance

UART registers base address

◆ p_rx_buffer

uint8_t* _uart_handle::p_rx_buffer

Pointer to UART Rx transfer Buffer

◆ p_tx_buffer

uint8_t* _uart_handle::p_tx_buffer

Pointer to UART Tx transfer Buffer

◆ retention

uint32_t _uart_handle::retention[8]

UART important register information.

◆ rx_state

__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

◆ rx_xfer_count

__IO uint16_t _uart_handle::rx_xfer_count

UART Rx Transfer Counter

◆ rx_xfer_size

uint16_t _uart_handle::rx_xfer_size

UART Rx Transfer size

◆ tx_state

__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

◆ tx_xfer_count

__IO uint16_t _uart_handle::tx_xfer_count

UART Tx Transfer Counter

◆ tx_xfer_size

uint16_t _uart_handle::tx_xfer_size

UART Tx Transfer size


The documentation for this struct was generated from the following file: