STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
__STATIC_INLINE void | LL_LPTIM_Enable (LPTIM_TypeDef *LPTIMx) |
Enable the LPTIM instance. More... | |
__STATIC_INLINE uint32_t | LL_LPTIM_IsEnabled (const LPTIM_TypeDef *LPTIMx) |
Indicates whether the LPTIM instance is enabled. @rmtoll CR ENABLE LL_LPTIM_IsEnabled. More... | |
__STATIC_INLINE void | LL_LPTIM_StartCounter (LPTIM_TypeDef *LPTIMx, uint32_t OperatingMode) |
Starts the LPTIM counter in the desired mode. More... | |
__STATIC_INLINE void | LL_LPTIM_SetUpdateMode (LPTIM_TypeDef *LPTIMx, uint32_t UpdateMode) |
Set the LPTIM registers update mode (enable/disable register preload) More... | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetUpdateMode (const LPTIM_TypeDef *LPTIMx) |
Get the LPTIM registers update mode @rmtoll CFGR PRELOAD LL_LPTIM_GetUpdateMode. More... | |
__STATIC_INLINE void | LL_LPTIM_SetAutoReload (LPTIM_TypeDef *LPTIMx, uint32_t AutoReload) |
Set the auto reload value. More... | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetAutoReload (const LPTIM_TypeDef *LPTIMx) |
Get actual auto reload value @rmtoll ARR ARR LL_LPTIM_GetAutoReload. More... | |
__STATIC_INLINE void | LL_LPTIM_SetCompare (LPTIM_TypeDef *LPTIMx, uint32_t CompareValue) |
Set the compare value. More... | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetCompare (const LPTIM_TypeDef *LPTIMx) |
Get actual compare value @rmtoll CMP CMP LL_LPTIM_GetCompare. More... | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetCounter (const LPTIM_TypeDef *LPTIMx) |
Get actual counter value. More... | |
__STATIC_INLINE void | LL_LPTIM_SetCounterMode (LPTIM_TypeDef *LPTIMx, uint32_t CounterMode) |
Set the counter mode (selection of the LPTIM counter clock source). More... | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetCounterMode (const LPTIM_TypeDef *LPTIMx) |
Get the counter mode @rmtoll CFGR COUNTMODE LL_LPTIM_GetCounterMode. More... | |
__STATIC_INLINE void | LL_LPTIM_ConfigOutput (LPTIM_TypeDef *LPTIMx, uint32_t Waveform, uint32_t Polarity) |
Configure the LPTIM instance output (LPTIMx_OUT) More... | |
__STATIC_INLINE void | LL_LPTIM_SetWaveform (LPTIM_TypeDef *LPTIMx, uint32_t Waveform) |
Set waveform shape @rmtoll CFGR WAVE LL_LPTIM_SetWaveform. More... | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetWaveform (const LPTIM_TypeDef *LPTIMx) |
Get actual waveform shape @rmtoll CFGR WAVE LL_LPTIM_GetWaveform. More... | |
__STATIC_INLINE void | LL_LPTIM_SetPolarity (LPTIM_TypeDef *LPTIMx, uint32_t Polarity) |
Set output polarity @rmtoll CFGR WAVPOL LL_LPTIM_SetPolarity. More... | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetPolarity (const LPTIM_TypeDef *LPTIMx) |
Get actual output polarity @rmtoll CFGR WAVPOL LL_LPTIM_GetPolarity. More... | |
__STATIC_INLINE void | LL_LPTIM_SetPrescaler (LPTIM_TypeDef *LPTIMx, uint32_t Prescaler) |
Set actual prescaler division ratio. More... | |
__STATIC_INLINE uint32_t | LL_LPTIM_GetPrescaler (const LPTIM_TypeDef *LPTIMx) |
Get actual prescaler division ratio. @rmtoll CFGR PRESC LL_LPTIM_GetPrescaler. More... | |
__STATIC_INLINE void | LL_LPTIM_SetInput1Src (LPTIM_TypeDef *LPTIMx, uint32_t Src) |
Set LPTIM input 1 source (default GPIO). @rmtoll OR OR LL_LPTIM_SetInput1Src. More... | |
__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 535 of file stm32f4xx_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 357 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetAutoReload | ( | const LPTIM_TypeDef * | LPTIMx | ) |
Get actual auto reload value @rmtoll ARR ARR LL_LPTIM_GetAutoReload.
LPTIMx | Low-Power Timer instance |
AutoReload | Value between Min_Data=0x0001 and Max_Data=0xFFFF |
Definition at line 443 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetCompare | ( | const LPTIM_TypeDef * | LPTIMx | ) |
Get actual compare value @rmtoll CMP CMP LL_LPTIM_GetCompare.
LPTIMx | Low-Power Timer instance |
CompareValue | Value between Min_Data=0x00 and Max_Data=0xFFFF |
Definition at line 470 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetCounter | ( | const LPTIM_TypeDef * | LPTIMx | ) |
Get actual counter value.
LPTIMx | Low-Power Timer instance |
Counter | value |
Definition at line 485 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetCounterMode | ( | const LPTIM_TypeDef * | LPTIMx | ) |
Get the counter mode @rmtoll CFGR COUNTMODE LL_LPTIM_GetCounterMode.
LPTIMx | Low-Power Timer instance |
Returned | value can be one of the following values:
|
Definition at line 513 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetPolarity | ( | const LPTIM_TypeDef * | LPTIMx | ) |
Get actual output polarity @rmtoll CFGR WAVPOL LL_LPTIM_GetPolarity.
LPTIMx | Low-Power Timer instance |
Returned | value can be one of the following values:
|
Definition at line 589 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetPrescaler | ( | const LPTIM_TypeDef * | LPTIMx | ) |
Get actual prescaler division ratio. @rmtoll CFGR PRESC LL_LPTIM_GetPrescaler.
LPTIMx | Low-Power Timer instance |
Returned | value can be one of the following values:
|
Definition at line 633 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetUpdateMode | ( | const LPTIM_TypeDef * | LPTIMx | ) |
Get the LPTIM registers update mode @rmtoll CFGR PRELOAD LL_LPTIM_GetUpdateMode.
LPTIMx | Low-Power Timer instance |
Returned | value can be one of the following values:
|
Definition at line 414 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_GetWaveform | ( | const LPTIM_TypeDef * | LPTIMx | ) |
Get actual waveform shape @rmtoll CFGR WAVE LL_LPTIM_GetWaveform.
LPTIMx | Low-Power Timer instance |
Returned | value can be one of the following values:
|
Definition at line 562 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabled | ( | const LPTIM_TypeDef * | LPTIMx | ) |
Indicates whether the LPTIM instance is enabled. @rmtoll CR ENABLE LL_LPTIM_IsEnabled.
LPTIMx | Low-Power Timer instance |
State | of bit (1 or 0). |
Definition at line 368 of file stm32f4xx_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=0x0001 and Max_Data=0xFFFF |
None |
Definition at line 432 of file stm32f4xx_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 459 of file stm32f4xx_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 500 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_SetInput1Src | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | Src | ||
) |
Set LPTIM input 1 source (default GPIO). @rmtoll OR OR LL_LPTIM_SetInput1Src.
LPTIMx | Low-Power Timer instance |
Src | This parameter can be one of the following values:
|
None |
Definition at line 649 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_SetPolarity | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | Polarity | ||
) |
Set output polarity @rmtoll CFGR WAVPOL LL_LPTIM_SetPolarity.
LPTIMx | Low-Power Timer instance |
Polarity | This parameter can be one of the following values:
|
None |
Definition at line 576 of file stm32f4xx_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 614 of file stm32f4xx_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 401 of file stm32f4xx_ll_lptim.h.
__STATIC_INLINE void LL_LPTIM_SetWaveform | ( | LPTIM_TypeDef * | LPTIMx, |
uint32_t | Waveform | ||
) |
Set waveform shape @rmtoll CFGR WAVE LL_LPTIM_SetWaveform.
LPTIMx | Low-Power Timer instance |
Waveform | This parameter can be one of the following values:
|
None |
Definition at line 549 of file stm32f4xx_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 386 of file stm32f4xx_ll_lptim.h.