STM32F439xx HAL User Manual
Functions
Configuration functions related to Irda feature
USART Exported Functions

Functions

__STATIC_INLINE void LL_USART_EnableIrda (USART_TypeDef *USARTx)
 Enable IrDA mode.
__STATIC_INLINE void LL_USART_DisableIrda (USART_TypeDef *USARTx)
 Disable IrDA mode.
__STATIC_INLINE uint32_t LL_USART_IsEnabledIrda (USART_TypeDef *USARTx)
 Indicate if IrDA mode is enabled.
__STATIC_INLINE void LL_USART_SetIrdaPowerMode (USART_TypeDef *USARTx, uint32_t PowerMode)
 Configure IrDA Power Mode (Normal or Low Power)
__STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode (USART_TypeDef *USARTx)
 Retrieve IrDA Power Mode configuration (Normal or Low Power)
__STATIC_INLINE void LL_USART_SetIrdaPrescaler (USART_TypeDef *USARTx, uint32_t PrescalerValue)
 Set Irda prescaler value, used for dividing the USART clock source to achieve the Irda Low Power frequency (8 bits value)
__STATIC_INLINE uint32_t LL_USART_GetIrdaPrescaler (USART_TypeDef *USARTx)
 Return Irda prescaler value, used for dividing the USART clock source to achieve the Irda Low Power frequency (8 bits value)

Function Documentation

__STATIC_INLINE void LL_USART_DisableIrda ( USART_TypeDef *  USARTx)

Disable IrDA mode.

Note:
Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not IrDA feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 IREN LL_USART_DisableIrda
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 1114 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableIrda ( USART_TypeDef *  USARTx)

Enable IrDA mode.

Note:
Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not IrDA feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 IREN LL_USART_EnableIrda
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 1101 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode ( USART_TypeDef *  USARTx)

Retrieve IrDA Power Mode configuration (Normal or Low Power)

Note:
Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not IrDA feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 IRLP LL_USART_GetIrdaPowerMode
Parameters:
USARTxUSART Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 1158 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_GetIrdaPrescaler ( USART_TypeDef *  USARTx)

Return Irda prescaler value, used for dividing the USART clock source to achieve the Irda Low Power frequency (8 bits value)

Note:
Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not IrDA feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
GTPR PSC LL_USART_GetIrdaPrescaler
Parameters:
USARTxUSART Instance
Return values:
Irdaprescaler value (Value between Min_Data=0x00 and Max_Data=0xFF)

Definition at line 1187 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledIrda ( USART_TypeDef *  USARTx)

Indicate if IrDA mode is enabled.

Note:
Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not IrDA feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 IREN LL_USART_IsEnabledIrda
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1127 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_SetIrdaPowerMode ( USART_TypeDef *  USARTx,
uint32_t  PowerMode 
)

Configure IrDA Power Mode (Normal or Low Power)

Note:
Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not IrDA feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 IRLP LL_USART_SetIrdaPowerMode
Parameters:
USARTxUSART Instance
PowerModeThis parameter can be one of the following values:
Return values:
None

Definition at line 1143 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_SetIrdaPrescaler ( USART_TypeDef *  USARTx,
uint32_t  PrescalerValue 
)

Set Irda prescaler value, used for dividing the USART clock source to achieve the Irda Low Power frequency (8 bits value)

Note:
Macro IS_IRDA_INSTANCE(USARTx) can be used to check whether or not IrDA feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
GTPR PSC LL_USART_SetIrdaPrescaler
Parameters:
USARTxUSART Instance
PrescalerValueValue between Min_Data=0x00 and Max_Data=0xFF
Return values:
None

Definition at line 1173 of file stm32f4xx_ll_usart.h.