STM32H735xx 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_EnableResetAfterRead (LPTIM_TypeDef *LPTIMx) |
Enable reset after read. | |
__STATIC_INLINE void | LL_LPTIM_DisableResetAfterRead (LPTIM_TypeDef *LPTIMx) |
Disable reset after read. | |
__STATIC_INLINE uint32_t | LL_LPTIM_IsEnabledResetAfterRead (LPTIM_TypeDef *LPTIMx) |
Indicate whether the reset after read feature is enabled. | |
__STATIC_INLINE void | LL_LPTIM_ResetCounter (LPTIM_TypeDef *LPTIMx) |
Reset of the LPTIM_CNT counter register (synchronous). | |
__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 596 of file stm32h7xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_DisableResetAfterRead | ( | LPTIM_TypeDef * | LPTIMx | ) |
Disable reset after read.
LPTIMx | Low-Power Timer instance |
None |
Definition at line 421 of file stm32h7xx_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 368 of file stm32h7xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_EnableResetAfterRead | ( | LPTIM_TypeDef * | LPTIMx | ) |
Enable reset after read.
LPTIMx | Low-Power Timer instance |
None |
Definition at line 410 of file stm32h7xx_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 504 of file stm32h7xx_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 531 of file stm32h7xx_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 546 of file stm32h7xx_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 574 of file stm32h7xx_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 650 of file stm32h7xx_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 694 of file stm32h7xx_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 475 of file stm32h7xx_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 623 of file stm32h7xx_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 379 of file stm32h7xx_ll_lptim.h.
Referenced by LL_LPTIM_Init().
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledResetAfterRead | ( | LPTIM_TypeDef * | LPTIMx | ) |
Indicate whether the reset after read feature is enabled.
LPTIMx | Low-Power Timer instance |
State | of bit (1 or 0). |
Definition at line 432 of file stm32h7xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_ResetCounter | ( | LPTIM_TypeDef * | LPTIMx | ) |
Reset of the LPTIM_CNT counter register (synchronous).
LPTIMx | Low-Power Timer instance |
None |
Definition at line 447 of file stm32h7xx_ll_lptim.h.
__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 493 of file stm32h7xx_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 520 of file stm32h7xx_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 561 of file stm32h7xx_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 712 of file stm32h7xx_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 726 of file stm32h7xx_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 637 of file stm32h7xx_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 675 of file stm32h7xx_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 462 of file stm32h7xx_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 610 of file stm32h7xx_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 397 of file stm32h7xx_ll_lptim.h.