Ll_Usart_Setirdapowermode; Ll_Usart_Getirdapowermode; Ll_Usart_Setirdaprescaler - ST STM32F2 User Manual

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

Advertisement

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

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

Table of Contents

Save PDF