Irda Firmware Driver Defines; Hal_Irda_Geterror; Irda Error Code; Irda Exported Macros - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

HAL IRDA Generic Driver

HAL_IRDA_GetError

Function name
Function description
Parameters
Return values
26.3

IRDA Firmware driver defines

26.3.1
IRDA

IRDA Error Code

HAL_IRDA_ERROR_NONE
HAL_IRDA_ERROR_PE
HAL_IRDA_ERROR_NE
HAL_IRDA_ERROR_FE
HAL_IRDA_ERROR_ORE
HAL_IRDA_ERROR_DMA

IRDA Exported Macros

__HAL_IRDA_RESET_HANDLE_STATE
__HAL_IRDA_FLUSH_DRREGISTER
__HAL_IRDA_GET_FLAG
340/1371
uint32_t HAL_IRDA_GetError (IRDA_HandleTypeDef * hirda)
Return the IARDA error code.
hirda: : pointer to a IRDA_HandleTypeDef structure that
contains the configuration information for the specified IRDA.
IRDA: Error Code
No error
Parity error
Noise error
Frame error
Overrun error
DMA transfer error
DocID028236 Rev 2
Description:
Reset IRDA handle gstate & RxState.
Parameters:
__HANDLE__: specifies the USART
Handle. This parameter can be
USARTx where x: 1, 2, 3, 4, 5, 6, 7 or
8 to select the USART or UART
peripheral.
Return value:
None
Description:
Flushs the IRDA DR register.
Parameters:
__HANDLE__: specifies the USART
Handle. This parameter can be
USARTx where x: 1, 2, 3, 4, 5, 6, 7 or
8 to select the USART or UART
peripheral.
Description:
Checks whether the specified IRDA
flag is set or not.
Parameters:
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF