EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #340 background imageLoading...
Page #340 background image
HAL IRDA Generic Driver
UM1940
340/1371
DocID028236 Rev 2
HAL_IRDA_GetError
Function name
uint32_t HAL_IRDA_GetError (IRDA_HandleTypeDef * hirda)
Function description
Return the IARDA error code.
Parameters
hirda: : pointer to a IRDA_HandleTypeDef structure that
contains the configuration information for the specified IRDA.
Return values
IRDA: Error Code
26.3 IRDA Firmware driver defines
26.3.1 IRDA
IRDA Error Code
HAL_IRDA_ERROR_NONE
No error
HAL_IRDA_ERROR_PE
Parity error
HAL_IRDA_ERROR_NE
Noise error
HAL_IRDA_ERROR_FE
Frame error
HAL_IRDA_ERROR_ORE
Overrun error
HAL_IRDA_ERROR_DMA
DMA transfer error
IRDA Exported Macros
__HAL_IRDA_RESET_HANDLE_STATE
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
__HAL_IRDA_FLUSH_DRREGISTER
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.
__HAL_IRDA_GET_FLAG
Description:
Checks whether the specified IRDA
flag is set or not.
Parameters:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals