|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| __STATIC_INLINE void | LL_TIM_EnableCounter (TIM_TypeDef *TIMx) |
| Enable timer counter. CR1 CEN LL_TIM_EnableCounter. More... | |
| __STATIC_INLINE void | LL_TIM_DisableCounter (TIM_TypeDef *TIMx) |
| Disable timer counter. CR1 CEN LL_TIM_DisableCounter. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_IsEnabledCounter (TIM_TypeDef *TIMx) |
| Indicates whether the timer counter is enabled. CR1 CEN LL_TIM_IsEnabledCounter. More... | |
| __STATIC_INLINE void | LL_TIM_EnableUpdateEvent (TIM_TypeDef *TIMx) |
| Enable update event generation. CR1 UDIS LL_TIM_EnableUpdateEvent. More... | |
| __STATIC_INLINE void | LL_TIM_DisableUpdateEvent (TIM_TypeDef *TIMx) |
| Disable update event generation. CR1 UDIS LL_TIM_DisableUpdateEvent. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_IsEnabledUpdateEvent (TIM_TypeDef *TIMx) |
| Indicates whether update event generation is enabled. CR1 UDIS LL_TIM_IsEnabledUpdateEvent. More... | |
| __STATIC_INLINE void | LL_TIM_SetUpdateSource (TIM_TypeDef *TIMx, uint32_t UpdateSource) |
| Set update event source. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_GetUpdateSource (TIM_TypeDef *TIMx) |
| Get actual event update source CR1 URS LL_TIM_GetUpdateSource. More... | |
| __STATIC_INLINE void | LL_TIM_SetOnePulseMode (TIM_TypeDef *TIMx, uint32_t OnePulseMode) |
| Set one pulse mode (one shot v.s. repetitive). CR1 OPM LL_TIM_SetOnePulseMode. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_GetOnePulseMode (TIM_TypeDef *TIMx) |
| Get actual one pulse mode. CR1 OPM LL_TIM_GetOnePulseMode. More... | |
| __STATIC_INLINE void | LL_TIM_SetCounterMode (TIM_TypeDef *TIMx, uint32_t CounterMode) |
| Set the timer counter counting mode. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_GetCounterMode (TIM_TypeDef *TIMx) |
| Get actual counter mode. More... | |
| __STATIC_INLINE void | LL_TIM_EnableARRPreload (TIM_TypeDef *TIMx) |
| Enable auto-reload (ARR) preload. CR1 ARPE LL_TIM_EnableARRPreload. More... | |
| __STATIC_INLINE void | LL_TIM_DisableARRPreload (TIM_TypeDef *TIMx) |
| Disable auto-reload (ARR) preload. CR1 ARPE LL_TIM_DisableARRPreload. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_IsEnabledARRPreload (TIM_TypeDef *TIMx) |
| Indicates whether auto-reload (ARR) preload is enabled. CR1 ARPE LL_TIM_IsEnabledARRPreload. More... | |
| __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. More... | |
| __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. More... | |
| __STATIC_INLINE void | LL_TIM_SetCounter (TIM_TypeDef *TIMx, uint32_t Counter) |
| Set the counter value. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_GetCounter (TIM_TypeDef *TIMx) |
| Get the counter value. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_GetDirection (TIM_TypeDef *TIMx) |
| Get the current direction of the counter CR1 DIR LL_TIM_GetDirection. More... | |
| __STATIC_INLINE void | LL_TIM_SetPrescaler (TIM_TypeDef *TIMx, uint32_t Prescaler) |
| Set the prescaler value. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_GetPrescaler (TIM_TypeDef *TIMx) |
| Get the prescaler value. PSC PSC LL_TIM_GetPrescaler. More... | |
| __STATIC_INLINE void | LL_TIM_SetAutoReload (TIM_TypeDef *TIMx, uint32_t AutoReload) |
| Set the auto-reload value. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_GetAutoReload (TIM_TypeDef *TIMx) |
| Get the auto-reload value. ARR ARR LL_TIM_GetAutoReload. More... | |
| __STATIC_INLINE void | LL_TIM_SetRepetitionCounter (TIM_TypeDef *TIMx, uint32_t RepetitionCounter) |
| Set the repetition counter value. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_GetRepetitionCounter (TIM_TypeDef *TIMx) |
| Get the repetition counter value. More... | |
| __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). More... | |
| __STATIC_INLINE void | LL_TIM_DisableUIFRemap (TIM_TypeDef *TIMx) |
| Disable update interrupt flag (UIF) remapping. CR1 UIFREMAP LL_TIM_DisableUIFRemap. More... | |
| __STATIC_INLINE void LL_TIM_DisableARRPreload | ( | TIM_TypeDef * | TIMx | ) |
Disable auto-reload (ARR) preload. CR1 ARPE LL_TIM_DisableARRPreload.
| TIMx | Timer instance |
| None |
Definition at line 1624 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_DisableCounter | ( | TIM_TypeDef * | TIMx | ) |
Disable timer counter. CR1 CEN LL_TIM_DisableCounter.
| TIMx | Timer instance |
| None |
Definition at line 1453 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_DisableUIFRemap | ( | TIM_TypeDef * | TIMx | ) |
Disable update interrupt flag (UIF) remapping. CR1 UIFREMAP LL_TIM_DisableUIFRemap.
| TIMx | Timer instance |
| None |
Definition at line 1817 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_DisableUpdateEvent | ( | TIM_TypeDef * | TIMx | ) |
Disable update event generation. CR1 UDIS LL_TIM_DisableUpdateEvent.
| TIMx | Timer instance |
| None |
Definition at line 1486 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_EnableARRPreload | ( | TIM_TypeDef * | TIMx | ) |
Enable auto-reload (ARR) preload. CR1 ARPE LL_TIM_EnableARRPreload.
| TIMx | Timer instance |
| None |
Definition at line 1613 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_EnableCounter | ( | TIM_TypeDef * | TIMx | ) |
Enable timer counter. CR1 CEN LL_TIM_EnableCounter.
| TIMx | Timer instance |
| None |
Definition at line 1442 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 1806 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_EnableUpdateEvent | ( | TIM_TypeDef * | TIMx | ) |
Enable update event generation. CR1 UDIS LL_TIM_EnableUpdateEvent.
| TIMx | Timer instance |
| None |
Definition at line 1475 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetAutoReload | ( | TIM_TypeDef * | TIMx | ) |
Get the auto-reload value. ARR ARR LL_TIM_GetAutoReload.
| TIMx | Timer instance |
| Auto-reload | value |
Definition at line 1766 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 1670 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 1697 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 1602 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetDirection | ( | TIM_TypeDef * | TIMx | ) |
Get the current direction of the counter CR1 DIR LL_TIM_GetDirection.
| TIMx | Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 1710 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetOnePulseMode | ( | TIM_TypeDef * | TIMx | ) |
Get actual one pulse mode. CR1 OPM LL_TIM_GetOnePulseMode.
| TIMx | Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 1558 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetPrescaler | ( | TIM_TypeDef * | TIMx | ) |
Get the prescaler value. PSC PSC LL_TIM_GetPrescaler.
| TIMx | Timer instance |
| Prescaler | value between Min_Data=0 and Max_Data=65535 |
Definition at line 1737 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 1794 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetUpdateSource | ( | TIM_TypeDef * | TIMx | ) |
Get actual event update source CR1 URS LL_TIM_GetUpdateSource.
| TIMx | Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 1531 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_IsEnabledARRPreload | ( | TIM_TypeDef * | TIMx | ) |
Indicates whether auto-reload (ARR) preload is enabled. CR1 ARPE LL_TIM_IsEnabledARRPreload.
| TIMx | Timer instance |
| State | of bit (1 or 0). |
Definition at line 1635 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_IsEnabledCounter | ( | TIM_TypeDef * | TIMx | ) |
Indicates whether the timer counter is enabled. CR1 CEN LL_TIM_IsEnabledCounter.
| TIMx | Timer instance |
| State | of bit (1 or 0). |
Definition at line 1464 of file stm32l4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_IsEnabledUpdateEvent | ( | TIM_TypeDef * | TIMx | ) |
Indicates whether update event generation is enabled. CR1 UDIS LL_TIM_IsEnabledUpdateEvent.
| TIMx | Timer instance |
| Inverted | state of bit (0 or 1). |
Definition at line 1497 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 1753 of file stm32l4xx_ll_tim.h.
| __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 1653 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 1684 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 1582 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). CR1 OPM LL_TIM_SetOnePulseMode.
| TIMx | Timer instance |
| OnePulseMode | This parameter can be one of the following values:
|
| None |
Definition at line 1545 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 1726 of file stm32l4xx_ll_tim.h.
| __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 |
| None |
Definition at line 1781 of file stm32l4xx_ll_tim.h.
| __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 1518 of file stm32l4xx_ll_tim.h.