STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
__UART_HandleTypeDef Struct Reference

UART handle Structure definition. More...

#include <stm32h7xx_hal_uart.h>

Collaboration diagram for __UART_HandleTypeDef:
[legend]

Public Attributes

USART_TypeDef * Instance
 UART registers base address.
UART_InitTypeDef Init
 UART communication parameters.
UART_AdvFeatureInitTypeDef AdvancedInit
 UART Advanced Features initialization parameters.
const uint8_t * pTxBuffPtr
 Pointer to UART Tx transfer Buffer.
uint16_t TxXferSize
 UART Tx Transfer size.
__IO uint16_t TxXferCount
 UART Tx Transfer Counter.
uint8_t * pRxBuffPtr
 Pointer to UART Rx transfer Buffer.
uint16_t RxXferSize
 UART Rx Transfer size.
__IO uint16_t RxXferCount
 UART Rx Transfer Counter.
uint16_t Mask
 UART Rx RDR register mask.
uint32_t FifoMode
 Specifies if the FIFO mode is being used.
uint16_t NbRxDataToProcess
 Number of data to process during RX ISR execution.
uint16_t NbTxDataToProcess
 Number of data to process during TX ISR execution.
__IO HAL_UART_RxTypeTypeDef ReceptionType
 Type of ongoing reception.
__IO HAL_UART_RxEventTypeTypeDef RxEventType
 Type of Rx Event.
void(* RxISR )(struct __UART_HandleTypeDef *huart)
 Function pointer on Rx IRQ handler.
void(* TxISR )(struct __UART_HandleTypeDef *huart)
 Function pointer on Tx IRQ handler.
DMA_HandleTypeDef * hdmatx
 UART Tx DMA Handle parameters.
DMA_HandleTypeDef * hdmarx
 UART Rx DMA Handle parameters.
HAL_LockTypeDef Lock
 Locking object.
__IO HAL_UART_StateTypeDef gState
 UART state information related to global Handle management and also related to Tx operations.
__IO HAL_UART_StateTypeDef RxState
 UART state information related to Rx operations.
__IO uint32_t ErrorCode
 UART Error code.

Detailed Description

UART handle Structure definition.

Definition at line 220 of file stm32h7xx_hal_uart.h.

Member Data Documentation

◆ AdvancedInit

UART_AdvFeatureInitTypeDef __UART_HandleTypeDef::AdvancedInit

UART Advanced Features initialization parameters.

Definition at line 226 of file stm32h7xx_hal_uart.h.

◆ ErrorCode

__IO uint32_t __UART_HandleTypeDef::ErrorCode

UART Error code.

Definition at line 270 of file stm32h7xx_hal_uart.h.

◆ FifoMode

uint32_t __UART_HandleTypeDef::FifoMode

Specifies if the FIFO mode is being used.

This parameter can be a value of UARTEx FIFO mode.

Definition at line 242 of file stm32h7xx_hal_uart.h.

◆ gState

__IO HAL_UART_StateTypeDef __UART_HandleTypeDef::gState

UART state information related to global Handle management and also related to Tx operations.

This parameter can be a value of HAL_UART_StateTypeDef

Definition at line 263 of file stm32h7xx_hal_uart.h.

◆ hdmarx

DMA_HandleTypeDef* __UART_HandleTypeDef::hdmarx

UART Rx DMA Handle parameters.

Definition at line 259 of file stm32h7xx_hal_uart.h.

◆ hdmatx

DMA_HandleTypeDef* __UART_HandleTypeDef::hdmatx

UART Tx DMA Handle parameters.

Definition at line 257 of file stm32h7xx_hal_uart.h.

◆ Init

UART_InitTypeDef __UART_HandleTypeDef::Init

UART communication parameters.

Definition at line 224 of file stm32h7xx_hal_uart.h.

◆ Instance

USART_TypeDef* __UART_HandleTypeDef::Instance

UART registers base address.

Definition at line 222 of file stm32h7xx_hal_uart.h.

Referenced by HAL_UART_MspDeInit(), and HAL_UART_MspInit().

◆ Lock

HAL_LockTypeDef __UART_HandleTypeDef::Lock

Locking object.

Definition at line 261 of file stm32h7xx_hal_uart.h.

◆ Mask

uint16_t __UART_HandleTypeDef::Mask

UART Rx RDR register mask.

Definition at line 240 of file stm32h7xx_hal_uart.h.

◆ NbRxDataToProcess

uint16_t __UART_HandleTypeDef::NbRxDataToProcess

Number of data to process during RX ISR execution.

Definition at line 245 of file stm32h7xx_hal_uart.h.

◆ NbTxDataToProcess

uint16_t __UART_HandleTypeDef::NbTxDataToProcess

Number of data to process during TX ISR execution.

Definition at line 247 of file stm32h7xx_hal_uart.h.

◆ pRxBuffPtr

uint8_t* __UART_HandleTypeDef::pRxBuffPtr

Pointer to UART Rx transfer Buffer.

Definition at line 234 of file stm32h7xx_hal_uart.h.

◆ pTxBuffPtr

const uint8_t* __UART_HandleTypeDef::pTxBuffPtr

Pointer to UART Tx transfer Buffer.

Definition at line 228 of file stm32h7xx_hal_uart.h.

◆ ReceptionType

__IO HAL_UART_RxTypeTypeDef __UART_HandleTypeDef::ReceptionType

Type of ongoing reception.

Definition at line 249 of file stm32h7xx_hal_uart.h.

◆ RxEventType

__IO HAL_UART_RxEventTypeTypeDef __UART_HandleTypeDef::RxEventType

Type of Rx Event.

Definition at line 251 of file stm32h7xx_hal_uart.h.

◆ RxISR

void(* __UART_HandleTypeDef::RxISR) (struct __UART_HandleTypeDef *huart)

Function pointer on Rx IRQ handler.

Definition at line 253 of file stm32h7xx_hal_uart.h.

◆ RxState

__IO HAL_UART_StateTypeDef __UART_HandleTypeDef::RxState

UART state information related to Rx operations.

This parameter can be a value of HAL_UART_StateTypeDef

Definition at line 267 of file stm32h7xx_hal_uart.h.

Referenced by HAL_UART_ErrorCallback().

◆ RxXferCount

__IO uint16_t __UART_HandleTypeDef::RxXferCount

UART Rx Transfer Counter.

Definition at line 238 of file stm32h7xx_hal_uart.h.

◆ RxXferSize

uint16_t __UART_HandleTypeDef::RxXferSize

UART Rx Transfer size.

Definition at line 236 of file stm32h7xx_hal_uart.h.

◆ TxISR

void(* __UART_HandleTypeDef::TxISR) (struct __UART_HandleTypeDef *huart)

Function pointer on Tx IRQ handler.

Definition at line 255 of file stm32h7xx_hal_uart.h.

◆ TxXferCount

__IO uint16_t __UART_HandleTypeDef::TxXferCount

UART Tx Transfer Counter.

Definition at line 232 of file stm32h7xx_hal_uart.h.

◆ TxXferSize

uint16_t __UART_HandleTypeDef::TxXferSize

UART Tx Transfer size.

Definition at line 230 of file stm32h7xx_hal_uart.h.


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