LL_USART_SetIrdaPowerMode
__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
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
LL_USART_GetIrdaPowerMode
__STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode
(USART_TypeDef * USARTx)
Retrieve IrDA Power Mode configuration (Normal or Low Power)
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.
Reference Manual to
LL API cross
reference:
CR3 IRLP LL_USART_GetIrdaPowerMode
LL_USART_SetIrdaPrescaler
__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