|
STM32F4xx_HAL_Driver
1.8.3
|
Collaboration diagram for Time Base configuration:Functions | |
| __STATIC_INLINE void | LL_TIM_EnableCounter (TIM_TypeDef *TIMx) |
| Enable timer counter. @rmtoll CR1 CEN LL_TIM_EnableCounter. More... | |
| __STATIC_INLINE void | LL_TIM_DisableCounter (TIM_TypeDef *TIMx) |
| Disable timer counter. @rmtoll CR1 CEN LL_TIM_DisableCounter. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_IsEnabledCounter (const TIM_TypeDef *TIMx) |
| Indicates whether the timer counter is enabled. @rmtoll CR1 CEN LL_TIM_IsEnabledCounter. More... | |
| __STATIC_INLINE void | LL_TIM_EnableUpdateEvent (TIM_TypeDef *TIMx) |
| Enable update event generation. @rmtoll CR1 UDIS LL_TIM_EnableUpdateEvent. More... | |
| __STATIC_INLINE void | LL_TIM_DisableUpdateEvent (TIM_TypeDef *TIMx) |
| Disable update event generation. @rmtoll CR1 UDIS LL_TIM_DisableUpdateEvent. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_IsEnabledUpdateEvent (const TIM_TypeDef *TIMx) |
| Indicates whether update event generation is enabled. @rmtoll 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 (const TIM_TypeDef *TIMx) |
| Get actual event update source @rmtoll 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). @rmtoll CR1 OPM LL_TIM_SetOnePulseMode. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_GetOnePulseMode (const TIM_TypeDef *TIMx) |
| Get actual one pulse mode. @rmtoll 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 (const TIM_TypeDef *TIMx) |
| Get actual counter mode. More... | |
| __STATIC_INLINE void | LL_TIM_EnableARRPreload (TIM_TypeDef *TIMx) |
| Enable auto-reload (ARR) preload. @rmtoll CR1 ARPE LL_TIM_EnableARRPreload. More... | |
| __STATIC_INLINE void | LL_TIM_DisableARRPreload (TIM_TypeDef *TIMx) |
| Disable auto-reload (ARR) preload. @rmtoll CR1 ARPE LL_TIM_DisableARRPreload. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_IsEnabledARRPreload (const TIM_TypeDef *TIMx) |
| Indicates whether auto-reload (ARR) preload is enabled. @rmtoll 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 (const 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 (const TIM_TypeDef *TIMx) |
| Get the counter value. More... | |
| __STATIC_INLINE uint32_t | LL_TIM_GetDirection (const TIM_TypeDef *TIMx) |
| Get the current direction of the counter @rmtoll 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 (const TIM_TypeDef *TIMx) |
| Get the prescaler value. @rmtoll 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 (const TIM_TypeDef *TIMx) |
| Get the auto-reload value. @rmtoll 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 (const TIM_TypeDef *TIMx) |
| Get the repetition counter value. More... | |
| __STATIC_INLINE void LL_TIM_DisableARRPreload | ( | TIM_TypeDef * | TIMx | ) |
Disable auto-reload (ARR) preload. @rmtoll CR1 ARPE LL_TIM_DisableARRPreload.
| TIMx | Timer instance |
| None |
Definition at line 1307 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_DisableCounter | ( | TIM_TypeDef * | TIMx | ) |
Disable timer counter. @rmtoll CR1 CEN LL_TIM_DisableCounter.
| TIMx | Timer instance |
| None |
Definition at line 1127 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_DisableUpdateEvent | ( | TIM_TypeDef * | TIMx | ) |
Disable update event generation. @rmtoll CR1 UDIS LL_TIM_DisableUpdateEvent.
| TIMx | Timer instance |
| None |
Definition at line 1160 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_EnableARRPreload | ( | TIM_TypeDef * | TIMx | ) |
Enable auto-reload (ARR) preload. @rmtoll CR1 ARPE LL_TIM_EnableARRPreload.
| TIMx | Timer instance |
| None |
Definition at line 1296 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_EnableCounter | ( | TIM_TypeDef * | TIMx | ) |
Enable timer counter. @rmtoll CR1 CEN LL_TIM_EnableCounter.
| TIMx | Timer instance |
| None |
Definition at line 1116 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_EnableUpdateEvent | ( | TIM_TypeDef * | TIMx | ) |
Enable update event generation. @rmtoll CR1 UDIS LL_TIM_EnableUpdateEvent.
| TIMx | Timer instance |
| None |
Definition at line 1149 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetAutoReload | ( | const TIM_TypeDef * | TIMx | ) |
Get the auto-reload value. @rmtoll ARR ARR LL_TIM_GetAutoReload.
| TIMx | Timer instance |
| Auto-reload | value |
Definition at line 1451 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetClockDivision | ( | const 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 1355 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetCounter | ( | const 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 1382 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetCounterMode | ( | const TIM_TypeDef * | TIMx | ) |
Get actual counter mode.
| TIMx | Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 1276 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetDirection | ( | const TIM_TypeDef * | TIMx | ) |
Get the current direction of the counter @rmtoll CR1 DIR LL_TIM_GetDirection.
| TIMx | Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 1395 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetOnePulseMode | ( | const TIM_TypeDef * | TIMx | ) |
Get actual one pulse mode. @rmtoll CR1 OPM LL_TIM_GetOnePulseMode.
| TIMx | Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 1232 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetPrescaler | ( | const TIM_TypeDef * | TIMx | ) |
Get the prescaler value. @rmtoll PSC PSC LL_TIM_GetPrescaler.
| TIMx | Timer instance |
| Prescaler | value between Min_Data=0 and Max_Data=65535 |
Definition at line 1422 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetRepetitionCounter | ( | const TIM_TypeDef * | TIMx | ) |
Get the repetition counter value.
| TIMx | Timer instance |
| Repetition | counter value |
Definition at line 1478 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_GetUpdateSource | ( | const TIM_TypeDef * | TIMx | ) |
Get actual event update source @rmtoll CR1 URS LL_TIM_GetUpdateSource.
| TIMx | Timer instance |
| Returned | value can be one of the following values:
|
Definition at line 1205 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_IsEnabledARRPreload | ( | const TIM_TypeDef * | TIMx | ) |
Indicates whether auto-reload (ARR) preload is enabled. @rmtoll CR1 ARPE LL_TIM_IsEnabledARRPreload.
| TIMx | Timer instance |
| State | of bit (1 or 0). |
Definition at line 1318 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_IsEnabledCounter | ( | const TIM_TypeDef * | TIMx | ) |
Indicates whether the timer counter is enabled. @rmtoll CR1 CEN LL_TIM_IsEnabledCounter.
| TIMx | Timer instance |
| State | of bit (1 or 0). |
Definition at line 1138 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE uint32_t LL_TIM_IsEnabledUpdateEvent | ( | const TIM_TypeDef * | TIMx | ) |
Indicates whether update event generation is enabled. @rmtoll CR1 UDIS LL_TIM_IsEnabledUpdateEvent.
| TIMx | Timer instance |
| Inverted | state of bit (0 or 1). |
Definition at line 1171 of file stm32f4xx_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 1438 of file stm32f4xx_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 1337 of file stm32f4xx_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 1369 of file stm32f4xx_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 1256 of file stm32f4xx_ll_tim.h.
| __STATIC_INLINE void LL_TIM_SetOnePulseMode | ( | TIM_TypeDef * | TIMx, |
| uint32_t | OnePulseMode | ||
| ) |
Set one pulse mode (one shot v.s. repetitive). @rmtoll CR1 OPM LL_TIM_SetOnePulseMode.
| TIMx | Timer instance |
| OnePulseMode | This parameter can be one of the following values:
|
| None |
Definition at line 1219 of file stm32f4xx_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 1411 of file stm32f4xx_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 or 65535 for advanced timer. |
| None |
Definition at line 1465 of file stm32f4xx_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 1192 of file stm32f4xx_ll_tim.h.