Prusa MINI Firmware overview
UART_HandleTypeDef Struct Reference

UART handle Structure definition. More...

#include <stm32f4xx_hal_uart.h>

Collaboration diagram for UART_HandleTypeDef:

Public Attributes

USART_TypeDef * Instance
 
UART_InitTypeDef Init
 
uint8_tpTxBuffPtr
 
uint16_t TxXferSize
 
__IO uint16_t TxXferCount
 
uint8_tpRxBuffPtr
 
uint16_t RxXferSize
 
__IO uint16_t RxXferCount
 
DMA_HandleTypeDefhdmatx
 
DMA_HandleTypeDefhdmarx
 
HAL_LockTypeDef Lock
 
__IO HAL_UART_StateTypeDef gState
 
__IO HAL_UART_StateTypeDef RxState
 
__IO uint32_t ErrorCode
 

Detailed Description

UART handle Structure definition.

Member Data Documentation

◆ Instance

USART_TypeDef* UART_HandleTypeDef::Instance

UART registers base address

◆ Init

UART_InitTypeDef UART_HandleTypeDef::Init

UART communication parameters

◆ pTxBuffPtr

uint8_t* UART_HandleTypeDef::pTxBuffPtr

Pointer to UART Tx transfer Buffer

◆ TxXferSize

uint16_t UART_HandleTypeDef::TxXferSize

UART Tx Transfer size

◆ TxXferCount

__IO uint16_t UART_HandleTypeDef::TxXferCount

UART Tx Transfer Counter

◆ pRxBuffPtr

uint8_t* UART_HandleTypeDef::pRxBuffPtr

Pointer to UART Rx transfer Buffer

◆ RxXferSize

uint16_t UART_HandleTypeDef::RxXferSize

UART Rx Transfer size

◆ RxXferCount

__IO uint16_t UART_HandleTypeDef::RxXferCount

UART Rx Transfer Counter

◆ hdmatx

DMA_HandleTypeDef* UART_HandleTypeDef::hdmatx

UART Tx DMA Handle parameters

◆ hdmarx

DMA_HandleTypeDef* UART_HandleTypeDef::hdmarx

UART Rx DMA Handle parameters

◆ Lock

HAL_LockTypeDef UART_HandleTypeDef::Lock

Locking object

◆ 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

◆ 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

◆ ErrorCode

__IO uint32_t UART_HandleTypeDef::ErrorCode

UART Error code