STM32L443xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_LPTIM_Enable (LPTIM_TypeDef *LPTIMx) |
Enable the LPTIM instance. | |
__STATIC_INLINE uint32_t | LL_LPTIM_IsEnabled (LPTIM_TypeDef *LPTIMx) |
Indicates whether the LPTIM instance is enabled. | |
__STATIC_INLINE void | LL_LPTIM_StartCounter (LPTIM_TypeDef *LPTIMx, uint32_t OperatingMode) |
Starts the LPTIM counter in the desired mode. | |
__STATIC_INLINE void | LL_LPTIM_SetUpdateMode (LPTIM_TypeDef *LPTIMx, uint32_t UpdateMode) |
Set the LPTIM registers update mode (enable/disable register preload) | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetUpdateMode (LPTIM_TypeDef *LPTIMx) |
Get the LPTIM registers update mode. | |
__STATIC_INLINE void | LL_LPTIM_SetAutoReload (LPTIM_TypeDef *LPTIMx, uint32_t AutoReload) |
Set the auto reload value. | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetAutoReload (LPTIM_TypeDef *LPTIMx) |
Get actual auto reload value. | |
__STATIC_INLINE void | LL_LPTIM_SetCompare (LPTIM_TypeDef *LPTIMx, uint32_t CompareValue) |
Set the compare value. | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetCompare (LPTIM_TypeDef *LPTIMx) |
Get actual compare value. | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetCounter (LPTIM_TypeDef *LPTIMx) |
Get actual counter value. | |
__STATIC_INLINE void | LL_LPTIM_SetCounterMode (LPTIM_TypeDef *LPTIMx, uint32_t CounterMode) |
Set the counter mode (selection of the LPTIM counter clock source). | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetCounterMode (LPTIM_TypeDef *LPTIMx) |
Get the counter mode. | |
__STATIC_INLINE void | LL_LPTIM_ConfigOutput (LPTIM_TypeDef *LPTIMx, uint32_t Waveform, uint32_t Polarity) |
Configure the LPTIM instance output (LPTIMx_OUT) | |
__STATIC_INLINE void | LL_LPTIM_SetWaveform (LPTIM_TypeDef *LPTIMx, uint32_t Waveform) |
Set waveform shape. | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetWaveform (LPTIM_TypeDef *LPTIMx) |
Get actual waveform shape. | |
__STATIC_INLINE void | LL_LPTIM_SetPolarity (LPTIM_TypeDef *LPTIMx, uint32_t Polarity) |
Set output polarity. | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetPolarity (LPTIM_TypeDef *LPTIMx) |
Get actual output polarity. | |
__STATIC_INLINE void | LL_LPTIM_SetPrescaler (LPTIM_TypeDef *LPTIMx, uint32_t Prescaler) |
Set actual prescaler division ratio. | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetPrescaler (LPTIM_TypeDef *LPTIMx) |
Get actual prescaler division ratio. | |
__STATIC_INLINE void | LL_LPTIM_SetInput1Src (LPTIM_TypeDef *LPTIMx, uint32_t Src) |
Set LPTIM input 1 source (default GPIO). | |
__STATIC_INLINE void | LL_LPTIM_SetInput2Src (LPTIM_TypeDef *LPTIMx, uint32_t Src) |
Set LPTIM input 2 source (default GPIO). |
__STATIC_INLINE void LL_LPTIM_ConfigOutput | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | Waveform, | ||
uint32_t | Polarity | ||
) |
Configure the LPTIM instance output (LPTIMx_OUT)
LPTIMx | Low-Power Timer instance |
Waveform | This parameter can be one of the following values: |
Polarity | This parameter can be one of the following values: |
None |
Definition at line 621 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_Enable | ( | LPTIM_TypeDef * | LPTIMx | ) |
Enable the LPTIM instance.
LPTIMx | Low-Power Timer instance |
None |
Definition at line 363 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetAutoReload | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get actual auto reload value.
LPTIMx | Low-Power Timer instance |
AutoReload | Value between Min_Data=0x00 and Max_Data=0xFFFF |
Definition at line 503 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetCompare | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get actual compare value.
LPTIMx | Low-Power Timer instance |
CompareValue | Value between Min_Data=0x00 and Max_Data=0xFFFF |
Definition at line 556 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetCounter | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get actual counter value.
LPTIMx | Low-Power Timer instance |
Counter | value |
Definition at line 571 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetCounterMode | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get the counter mode.
LPTIMx | Low-Power Timer instance |
Returned | value can be one of the following values: |
Definition at line 599 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetPolarity | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get actual output polarity.
LPTIMx | Low-Power Timer instance |
Returned | value can be one of the following values: |
Definition at line 675 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetPrescaler | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get actual prescaler division ratio.
LPTIMx | Low-Power Timer instance |
Returned | value can be one of the following values: |
Definition at line 719 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetUpdateMode | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get the LPTIM registers update mode.
LPTIMx | Low-Power Timer instance |
Returned | value can be one of the following values: |
Definition at line 474 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetWaveform | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get actual waveform shape.
LPTIMx | Low-Power Timer instance |
Returned | value can be one of the following values: |
Definition at line 648 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabled | ( | LPTIM_TypeDef * | LPTIMx | ) |
Indicates whether the LPTIM instance is enabled.
LPTIMx | Low-Power Timer instance |
State | of bit (1 or 0). |
Definition at line 374 of file stm32l4xx_ll_lptim.h.
Referenced by LL_LPTIM_Init().
__STATIC_INLINE void LL_LPTIM_SetAutoReload | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | AutoReload | ||
) |
Set the auto reload value.
LPTIMx | Low-Power Timer instance |
AutoReload | Value between Min_Data=0x00 and Max_Data=0xFFFF |
None |
Definition at line 492 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_SetCompare | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | CompareValue | ||
) |
Set the compare value.
LPTIMx | Low-Power Timer instance |
CompareValue | Value between Min_Data=0x00 and Max_Data=0xFFFF |
None |
Definition at line 545 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_SetCounterMode | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | CounterMode | ||
) |
Set the counter mode (selection of the LPTIM counter clock source).
LPTIMx | Low-Power Timer instance |
CounterMode | This parameter can be one of the following values: |
None |
Definition at line 586 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_SetInput1Src | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | Src | ||
) |
Set LPTIM input 1 source (default GPIO).
LPTIMx | Low-Power Timer instance |
Src | This parameter can be one of the following values: |
None |
Definition at line 735 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_SetInput2Src | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | Src | ||
) |
Set LPTIM input 2 source (default GPIO).
LPTIMx | Low-Power Timer instance |
Src | This parameter can be one of the following values: |
None |
Definition at line 749 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_SetPolarity | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | Polarity | ||
) |
Set output polarity.
LPTIMx | Low-Power Timer instance |
Polarity | This parameter can be one of the following values: |
None |
Definition at line 662 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_SetPrescaler | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | Prescaler | ||
) |
Set actual prescaler division ratio.
LPTIMx | Low-Power Timer instance |
Prescaler | This parameter can be one of the following values: |
None |
Definition at line 700 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_SetUpdateMode | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | UpdateMode | ||
) |
Set the LPTIM registers update mode (enable/disable register preload)
LPTIMx | Low-Power Timer instance |
UpdateMode | This parameter can be one of the following values: |
None |
Definition at line 461 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_SetWaveform | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | Waveform | ||
) |
Set waveform shape.
LPTIMx | Low-Power Timer instance |
Waveform | This parameter can be one of the following values: |
None |
Definition at line 635 of file stm32l4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_StartCounter | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | OperatingMode | ||
) |
Starts the LPTIM counter in the desired mode.
LPTIMx | Low-Power Timer instance |
OperatingMode | This parameter can be one of the following values: |
None |
Definition at line 392 of file stm32l4xx_ll_lptim.h.