STM32L443xx HAL User Manual
Defines
IRDA State Code Definition
IRDA Exported Constants

Defines

#define HAL_IRDA_STATE_RESET   0x00000000U
#define HAL_IRDA_STATE_READY   0x00000020U
#define HAL_IRDA_STATE_BUSY   0x00000024U
#define HAL_IRDA_STATE_BUSY_TX   0x00000021U
#define HAL_IRDA_STATE_BUSY_RX   0x00000022U
#define HAL_IRDA_STATE_BUSY_TX_RX   0x00000023U
#define HAL_IRDA_STATE_TIMEOUT   0x000000A0U
#define HAL_IRDA_STATE_ERROR   0x000000E0U

Define Documentation

#define HAL_IRDA_STATE_BUSY   0x00000024U

An internal process is ongoing Value is allowed for gState only

Definition at line 245 of file stm32l4xx_hal_irda.h.

Referenced by HAL_IRDA_DeInit(), and HAL_IRDA_Init().

#define HAL_IRDA_STATE_BUSY_RX   0x00000022U

Data Reception process is ongoing Value is allowed for RxState only

Definition at line 249 of file stm32l4xx_hal_irda.h.

Referenced by HAL_IRDA_DMAPause(), HAL_IRDA_DMAResume(), HAL_IRDA_DMAStop(), HAL_IRDA_Receive(), HAL_IRDA_Receive_DMA(), HAL_IRDA_Receive_IT(), IRDA_DMAError(), and IRDA_Receive_IT().

#define HAL_IRDA_STATE_BUSY_TX   0x00000021U

Data Transmission process is ongoing Value is allowed for gState only

Definition at line 247 of file stm32l4xx_hal_irda.h.

Referenced by HAL_IRDA_DMAPause(), HAL_IRDA_DMAResume(), HAL_IRDA_DMAStop(), HAL_IRDA_Transmit(), HAL_IRDA_Transmit_DMA(), HAL_IRDA_Transmit_IT(), IRDA_DMAError(), and IRDA_Transmit_IT().

#define HAL_IRDA_STATE_BUSY_TX_RX   0x00000023U

Data Transmission and Reception process is ongoing Not to be used for neither gState nor RxState. Value is result of combination (Or) between gState and RxState values

Definition at line 251 of file stm32l4xx_hal_irda.h.

#define HAL_IRDA_STATE_ERROR   0x000000E0U

Error Value is allowed for gState only

Definition at line 257 of file stm32l4xx_hal_irda.h.

#define HAL_IRDA_STATE_READY   0x00000020U
#define HAL_IRDA_STATE_RESET   0x00000000U

Peripheral is not initialized Value is allowed for gState and RxState

Definition at line 241 of file stm32l4xx_hal_irda.h.

Referenced by HAL_IRDA_DeInit(), HAL_IRDA_Init(), HAL_IRDA_RegisterCallback(), and HAL_IRDA_UnRegisterCallback().

#define HAL_IRDA_STATE_TIMEOUT   0x000000A0U

Timeout state Value is allowed for gState only

Definition at line 255 of file stm32l4xx_hal_irda.h.