|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| __STATIC_INLINE void | LL_LPTIM_Enable (LPTIM_TypeDef *LPTIMx) |
| Enable the LPTIM instance. More... | |
| __STATIC_INLINE uint32_t | LL_LPTIM_IsEnabled (LPTIM_TypeDef *LPTIMx) |
| Indicates whether the LPTIM instance is enabled. 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_EnableResetAfterRead (LPTIM_TypeDef *LPTIMx) |
| Enable reset after read. More... | |
| __STATIC_INLINE void | LL_LPTIM_DisableResetAfterRead (LPTIM_TypeDef *LPTIMx) |
| Disable reset after read. CR RSTARE LL_LPTIM_DisableResetAfterRead. More... | |
| __STATIC_INLINE uint32_t | LL_LPTIM_IsEnabledResetAfterRead (LPTIM_TypeDef *LPTIMx) |
| Indicate whether the reset after read feature is enabled. CR RSTARE LL_LPTIM_DisableResetAfterRead. More... | |
| __STATIC_INLINE void | LL_LPTIM_ResetCounter (LPTIM_TypeDef *LPTIMx) |
| Reset of the LPTIM_CNT counter register (synchronous). 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 (LPTIM_TypeDef *LPTIMx) |
| Get the LPTIM registers update mode 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 (LPTIM_TypeDef *LPTIMx) |
| Get actual auto reload value ARR ARR LL_LPTIM_GetAutoReload. More... | |
| __STATIC_INLINE void | LL_LPTIM_SetRepetition (LPTIM_TypeDef *LPTIMx, uint32_t Repetition) |
| Set the repetition value. More... | |
| __STATIC_INLINE uint32_t | LL_LPTIM_GetRepetition (LPTIM_TypeDef *LPTIMx) |
| Get the repetition value RCR REP LL_LPTIM_GetRepetition. 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 (LPTIM_TypeDef *LPTIMx) |
| Get actual compare value CMP CMP LL_LPTIM_GetCompare. More... | |
| __STATIC_INLINE uint32_t | LL_LPTIM_GetCounter (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 (LPTIM_TypeDef *LPTIMx) |
| Get the counter mode 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 CFGR WAVE LL_LPTIM_SetWaveform. More... | |
| __STATIC_INLINE uint32_t | LL_LPTIM_GetWaveform (LPTIM_TypeDef *LPTIMx) |
| Get actual waveform shape CFGR WAVE LL_LPTIM_GetWaveform. More... | |
| __STATIC_INLINE void | LL_LPTIM_SetPolarity (LPTIM_TypeDef *LPTIMx, uint32_t Polarity) |
| Set output polarity CFGR WAVPOL LL_LPTIM_SetPolarity. More... | |
| __STATIC_INLINE uint32_t | LL_LPTIM_GetPolarity (LPTIM_TypeDef *LPTIMx) |
| Get actual output polarity 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 (LPTIM_TypeDef *LPTIMx) |
| Get actual prescaler division ratio. 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). OR OR_0 LL_LPTIM_SetInput1Src OR OR_1 LL_LPTIM_SetInput1Src. More... | |
| __STATIC_INLINE void | LL_LPTIM_SetInput2Src (LPTIM_TypeDef *LPTIMx, uint32_t Src) |
| Set LPTIM input 2 source (default GPIO). OR OR_0 LL_LPTIM_SetInput2Src. 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 623 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE void LL_LPTIM_DisableResetAfterRead | ( | LPTIM_TypeDef * | LPTIMx | ) |
Disable reset after read. CR RSTARE LL_LPTIM_DisableResetAfterRead.
| LPTIMx | Low-Power Timer instance |
| None |
Definition at line 419 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 365 of file stm32l4xx_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 408 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE uint32_t LL_LPTIM_GetAutoReload | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get actual auto reload value ARR ARR LL_LPTIM_GetAutoReload.
| LPTIMx | Low-Power Timer instance |
| AutoReload | Value between Min_Data=0x00 and Max_Data=0xFFFF |
Definition at line 505 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE uint32_t LL_LPTIM_GetCompare | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get actual compare value CMP CMP LL_LPTIM_GetCompare.
| LPTIMx | Low-Power Timer instance |
| CompareValue | Value between Min_Data=0x00 and Max_Data=0xFFFF |
Definition at line 558 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 573 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE uint32_t LL_LPTIM_GetCounterMode | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get the counter mode CFGR COUNTMODE LL_LPTIM_GetCounterMode.
| LPTIMx | Low-Power Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 601 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE uint32_t LL_LPTIM_GetPolarity | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get actual output polarity CFGR WAVPOL LL_LPTIM_GetPolarity.
| LPTIMx | Low-Power Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 677 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE uint32_t LL_LPTIM_GetPrescaler | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get actual prescaler division ratio. CFGR PRESC LL_LPTIM_GetPrescaler.
| LPTIMx | Low-Power Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 721 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE uint32_t LL_LPTIM_GetRepetition | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get the repetition value RCR REP LL_LPTIM_GetRepetition.
| LPTIMx | Low-Power Timer instance |
| Repetition | Value between Min_Data=0x00 and Max_Data=0xFF |
Definition at line 530 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE uint32_t LL_LPTIM_GetUpdateMode | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get the LPTIM registers update mode CFGR PRELOAD LL_LPTIM_GetUpdateMode.
| LPTIMx | Low-Power Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 476 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE uint32_t LL_LPTIM_GetWaveform | ( | LPTIM_TypeDef * | LPTIMx | ) |
Get actual waveform shape CFGR WAVE LL_LPTIM_GetWaveform.
| LPTIMx | Low-Power Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 650 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE uint32_t LL_LPTIM_IsEnabled | ( | LPTIM_TypeDef * | LPTIMx | ) |
Indicates whether the LPTIM instance is enabled. CR ENABLE LL_LPTIM_IsEnabled.
| LPTIMx | Low-Power Timer instance |
| State | of bit (1 or 0). |
Definition at line 376 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE uint32_t LL_LPTIM_IsEnabledResetAfterRead | ( | LPTIM_TypeDef * | LPTIMx | ) |
Indicate whether the reset after read feature is enabled. CR RSTARE LL_LPTIM_DisableResetAfterRead.
| LPTIMx | Low-Power Timer instance |
| State | of bit (1 or 0). |
Definition at line 430 of file stm32l4xx_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 stm32l4xx_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 494 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 547 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 588 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). OR OR_0 LL_LPTIM_SetInput1Src OR OR_1 LL_LPTIM_SetInput1Src.
| LPTIMx | Low-Power Timer instance |
| Src | This parameter can be one of the following values:
|
| None |
Definition at line 738 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). OR OR_0 LL_LPTIM_SetInput2Src.
| LPTIMx | Low-Power Timer instance |
| Src | This parameter can be one of the following values:
|
| None |
Definition at line 752 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE void LL_LPTIM_SetPolarity | ( | LPTIM_TypeDef * | LPTIMx, |
| uint32_t | Polarity | ||
| ) |
Set output polarity CFGR WAVPOL LL_LPTIM_SetPolarity.
| LPTIMx | Low-Power Timer instance |
| Polarity | This parameter can be one of the following values:
|
| None |
Definition at line 664 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 702 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE void LL_LPTIM_SetRepetition | ( | LPTIM_TypeDef * | LPTIMx, |
| uint32_t | Repetition | ||
| ) |
Set the repetition value.
| LPTIMx | Low-Power Timer instance |
| Repetition | Value between Min_Data=0x00 and Max_Data=0xFF |
| None |
Definition at line 519 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 463 of file stm32l4xx_ll_lptim.h.
| __STATIC_INLINE void LL_LPTIM_SetWaveform | ( | LPTIM_TypeDef * | LPTIMx, |
| uint32_t | Waveform | ||
| ) |
Set waveform shape CFGR WAVE LL_LPTIM_SetWaveform.
| LPTIMx | Low-Power Timer instance |
| Waveform | This parameter can be one of the following values:
|
| None |
Definition at line 637 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 394 of file stm32l4xx_ll_lptim.h.