STM32L443xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_TIM_EnableCounter (TIM_TypeDef *TIMx) |
Enable timer counter. | |
__STATIC_INLINE void | LL_TIM_DisableCounter (TIM_TypeDef *TIMx) |
Disable timer counter. | |
__STATIC_INLINE uint32_t | LL_TIM_IsEnabledCounter (TIM_TypeDef *TIMx) |
Indicates whether the timer counter is enabled. | |
__STATIC_INLINE void | LL_TIM_EnableUpdateEvent (TIM_TypeDef *TIMx) |
Enable update event generation. | |
__STATIC_INLINE void | LL_TIM_DisableUpdateEvent (TIM_TypeDef *TIMx) |
Disable update event generation. | |
__STATIC_INLINE uint32_t | LL_TIM_IsEnabledUpdateEvent (TIM_TypeDef *TIMx) |
Indicates whether update event generation is enabled. | |
__STATIC_INLINE void | LL_TIM_SetUpdateSource (TIM_TypeDef *TIMx, uint32_t UpdateSource) |
Set update event source. | |
__STATIC_INLINE uint32_t | LL_TIM_GetUpdateSource (TIM_TypeDef *TIMx) |
Get actual event update source. | |
__STATIC_INLINE void | LL_TIM_SetOnePulseMode (TIM_TypeDef *TIMx, uint32_t OnePulseMode) |
Set one pulse mode (one shot v.s. | |
__STATIC_INLINE uint32_t | LL_TIM_GetOnePulseMode (TIM_TypeDef *TIMx) |
Get actual one pulse mode. | |
__STATIC_INLINE void | LL_TIM_SetCounterMode (TIM_TypeDef *TIMx, uint32_t CounterMode) |
Set the timer counter counting mode. | |
__STATIC_INLINE uint32_t | LL_TIM_GetCounterMode (TIM_TypeDef *TIMx) |
Get actual counter mode. | |
__STATIC_INLINE void | LL_TIM_EnableARRPreload (TIM_TypeDef *TIMx) |
Enable auto-reload (ARR) preload. | |
__STATIC_INLINE void | LL_TIM_DisableARRPreload (TIM_TypeDef *TIMx) |
Disable auto-reload (ARR) preload. | |
__STATIC_INLINE uint32_t | LL_TIM_IsEnabledARRPreload (TIM_TypeDef *TIMx) |
Indicates whether auto-reload (ARR) preload is enabled. | |
__STATIC_INLINE void | LL_TIM_SetClockDivision (TIM_TypeDef *TIMx, uint32_t ClockDivision) |
Set the division ratio between the timer clock and the sampling clock used by the dead-time generators (when supported) and the digital filters. | |
__STATIC_INLINE uint32_t | LL_TIM_GetClockDivision (TIM_TypeDef *TIMx) |
Get the actual division ratio between the timer clock and the sampling clock used by the dead-time generators (when supported) and the digital filters. | |
__STATIC_INLINE void | LL_TIM_SetCounter (TIM_TypeDef *TIMx, uint32_t Counter) |
Set the counter value. | |
__STATIC_INLINE uint32_t | LL_TIM_GetCounter (TIM_TypeDef *TIMx) |
Get the counter value. | |
__STATIC_INLINE uint32_t | LL_TIM_GetDirection (TIM_TypeDef *TIMx) |
Get the current direction of the counter. | |
__STATIC_INLINE void | LL_TIM_SetPrescaler (TIM_TypeDef *TIMx, uint32_t Prescaler) |
Set the prescaler value. | |
__STATIC_INLINE uint32_t | LL_TIM_GetPrescaler (TIM_TypeDef *TIMx) |
Get the prescaler value. | |
__STATIC_INLINE void | LL_TIM_SetAutoReload (TIM_TypeDef *TIMx, uint32_t AutoReload) |
Set the auto-reload value. | |
__STATIC_INLINE uint32_t | LL_TIM_GetAutoReload (TIM_TypeDef *TIMx) |
Get the auto-reload value. | |
__STATIC_INLINE void | LL_TIM_SetRepetitionCounter (TIM_TypeDef *TIMx, uint32_t RepetitionCounter) |
Set the repetition counter value. | |
__STATIC_INLINE uint32_t | LL_TIM_GetRepetitionCounter (TIM_TypeDef *TIMx) |
Get the repetition counter value. | |
__STATIC_INLINE void | LL_TIM_EnableUIFRemap (TIM_TypeDef *TIMx) |
Force a continuous copy of the update interrupt flag (UIF) into the timer counter register (bit 31). | |
__STATIC_INLINE void | LL_TIM_DisableUIFRemap (TIM_TypeDef *TIMx) |
Disable update interrupt flag (UIF) remapping. | |
__STATIC_INLINE uint32_t | LL_TIM_IsActiveUIFCPY (uint32_t Counter) |
Indicate whether update interrupt flag (UIF) copy is set. |
__STATIC_INLINE void LL_TIM_DisableARRPreload | ( | TIM_TypeDef * | TIMx | ) |
Disable auto-reload (ARR) preload.
TIMx | Timer instance |
None |
Definition at line 1677 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_DisableCounter | ( | TIM_TypeDef * | TIMx | ) |
Disable timer counter.
TIMx | Timer instance |
None |
Definition at line 1497 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_DisableUIFRemap | ( | TIM_TypeDef * | TIMx | ) |
Disable update interrupt flag (UIF) remapping.
TIMx | Timer instance |
None |
Definition at line 1873 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_DisableUpdateEvent | ( | TIM_TypeDef * | TIMx | ) |
Disable update event generation.
TIMx | Timer instance |
None |
Definition at line 1530 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_EnableARRPreload | ( | TIM_TypeDef * | TIMx | ) |
Enable auto-reload (ARR) preload.
TIMx | Timer instance |
None |
Definition at line 1666 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_EnableCounter | ( | TIM_TypeDef * | TIMx | ) |
Enable timer counter.
TIMx | Timer instance |
None |
Definition at line 1486 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_EnableUIFRemap | ( | TIM_TypeDef * | TIMx | ) |
Force a continuous copy of the update interrupt flag (UIF) into the timer counter register (bit 31).
TIMx | Timer instance |
None |
Definition at line 1862 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_EnableUpdateEvent | ( | TIM_TypeDef * | TIMx | ) |
Enable update event generation.
TIMx | Timer instance |
None |
Definition at line 1519 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_GetAutoReload | ( | TIM_TypeDef * | TIMx | ) |
Get the auto-reload value.
TIMx | Timer instance |
Auto-reload | value |
Definition at line 1821 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_GetClockDivision | ( | TIM_TypeDef * | TIMx | ) |
Get the actual division ratio between the timer clock and the sampling clock used by the dead-time generators (when supported) and the digital filters.
TIMx | Timer instance |
Returned | value can be one of the following values: |
Definition at line 1725 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_GetCounter | ( | TIM_TypeDef * | TIMx | ) |
Get the counter value.
TIMx | Timer instance |
Counter | value (between Min_Data=0 and Max_Data=0xFFFF or 0xFFFFFFFF) |
Definition at line 1752 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_GetCounterMode | ( | TIM_TypeDef * | TIMx | ) |
Get actual counter mode.
TIMx | Timer instance |
Returned | value can be one of the following values: |
Definition at line 1646 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_GetDirection | ( | TIM_TypeDef * | TIMx | ) |
Get the current direction of the counter.
TIMx | Timer instance |
Returned | value can be one of the following values: |
Definition at line 1765 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_GetOnePulseMode | ( | TIM_TypeDef * | TIMx | ) |
Get actual one pulse mode.
TIMx | Timer instance |
Returned | value can be one of the following values: |
Definition at line 1602 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_GetPrescaler | ( | TIM_TypeDef * | TIMx | ) |
Get the prescaler value.
TIMx | Timer instance |
Prescaler | value between Min_Data=0 and Max_Data=65535 |
Definition at line 1792 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_GetRepetitionCounter | ( | TIM_TypeDef * | TIMx | ) |
Get the repetition counter value.
TIMx | Timer instance |
Repetition | counter value |
Definition at line 1849 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_GetUpdateSource | ( | TIM_TypeDef * | TIMx | ) |
Get actual event update source.
TIMx | Timer instance |
Returned | value can be one of the following values: |
Definition at line 1575 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IsActiveUIFCPY | ( | uint32_t | Counter | ) |
Indicate whether update interrupt flag (UIF) copy is set.
Counter | Counter value |
State | of bit (1 or 0). |
Definition at line 1883 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IsEnabledARRPreload | ( | TIM_TypeDef * | TIMx | ) |
Indicates whether auto-reload (ARR) preload is enabled.
TIMx | Timer instance |
State | of bit (1 or 0). |
Definition at line 1688 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IsEnabledCounter | ( | TIM_TypeDef * | TIMx | ) |
Indicates whether the timer counter is enabled.
TIMx | Timer instance |
State | of bit (1 or 0). |
Definition at line 1508 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IsEnabledUpdateEvent | ( | TIM_TypeDef * | TIMx | ) |
Indicates whether update event generation is enabled.
TIMx | Timer instance |
Inverted | state of bit (0 or 1). |
Definition at line 1541 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_SetAutoReload | ( | TIM_TypeDef * | TIMx, |
uint32_t | AutoReload | ||
) |
Set the auto-reload value.
TIMx | Timer instance |
AutoReload | between Min_Data=0 and Max_Data=65535 |
None |
Definition at line 1808 of file stm32l4xx_ll_tim.h.
Referenced by LL_TIM_Init().
__STATIC_INLINE void LL_TIM_SetClockDivision | ( | TIM_TypeDef * | TIMx, |
uint32_t | ClockDivision | ||
) |
Set the division ratio between the timer clock and the sampling clock used by the dead-time generators (when supported) and the digital filters.
TIMx | Timer instance |
ClockDivision | This parameter can be one of the following values: |
None |
Definition at line 1707 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_SetCounter | ( | TIM_TypeDef * | TIMx, |
uint32_t | Counter | ||
) |
Set the counter value.
TIMx | Timer instance |
Counter | Counter value (between Min_Data=0 and Max_Data=0xFFFF or 0xFFFFFFFF) |
None |
Definition at line 1739 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_SetCounterMode | ( | TIM_TypeDef * | TIMx, |
uint32_t | CounterMode | ||
) |
Set the timer counter counting mode.
TIMx | Timer instance |
CounterMode | This parameter can be one of the following values: |
None |
Definition at line 1626 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_SetOnePulseMode | ( | TIM_TypeDef * | TIMx, |
uint32_t | OnePulseMode | ||
) |
Set one pulse mode (one shot v.s.
repetitive).
TIMx | Timer instance |
OnePulseMode | This parameter can be one of the following values: |
None |
Definition at line 1589 of file stm32l4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_SetPrescaler | ( | TIM_TypeDef * | TIMx, |
uint32_t | Prescaler | ||
) |
Set the prescaler value.
TIMx | Timer instance |
Prescaler | between Min_Data=0 and Max_Data=65535 |
None |
Definition at line 1781 of file stm32l4xx_ll_tim.h.
Referenced by LL_TIM_Init().
__STATIC_INLINE void LL_TIM_SetRepetitionCounter | ( | TIM_TypeDef * | TIMx, |
uint32_t | RepetitionCounter | ||
) |
Set the repetition counter value.
TIMx | Timer instance |
RepetitionCounter | between Min_Data=0 and Max_Data=255 or 65535 for advanced timer. |
None |
Definition at line 1836 of file stm32l4xx_ll_tim.h.
Referenced by LL_TIM_Init().
__STATIC_INLINE void LL_TIM_SetUpdateSource | ( | TIM_TypeDef * | TIMx, |
uint32_t | UpdateSource | ||
) |
Set update event source.
TIMx | Timer instance |
UpdateSource | This parameter can be one of the following values: |
None |
Definition at line 1562 of file stm32l4xx_ll_tim.h.