UM1940
reference:
LL_USART_SetIrdaPowerMode
Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:
LL_USART_GetIrdaPowerMode
Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:
LL_USART_SetIrdaPrescaler
Function name
Function description
Parameters
Return values
__STATIC_INLINE void LL_USART_SetIrdaPowerMode
(USART_TypeDef * USARTx, uint32_t PowerMode)
Configure IrDA Power Mode (Normal or Low Power)
USARTx: USART Instance
PowerMode: This parameter can be one of the following
values:
LL_USART_IRDA_POWER_NORMAL
LL_USART_IRDA_POWER_LOW
None:
Macro IS_IRDA_INSTANCE(USARTx) can be used to check
whether or not IrDA feature is supported by the USARTx
instance.
CR3 IRLP LL_USART_SetIrdaPowerMode
__STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode
(USART_TypeDef * USARTx)
Retrieve IrDA Power Mode configuration (Normal or Low Power)
USARTx: USART Instance
Returned: value can be one of the following values:
LL_USART_IRDA_POWER_NORMAL
LL_USART_PHASE_2EDGE
Macro IS_IRDA_INSTANCE(USARTx) can be used to check
whether or not IrDA feature is supported by the USARTx
instance.
CR3 IRLP LL_USART_GetIrdaPowerMode
__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)
USARTx: USART Instance
PrescalerValue: Value between Min_Data=0x00 and
Max_Data=0xFF
None:
DocID028236 Rev 2
LL USART Generic Driver
1259/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers