STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
TIM Time base Configuration Structure definition. More...
#include <stm32f4xx_hal_tim.h>
Data Fields | |
uint32_t | Prescaler |
uint32_t | CounterMode |
uint32_t | Period |
uint32_t | ClockDivision |
uint32_t | RepetitionCounter |
uint32_t | AutoReloadPreload |
TIM Time base Configuration Structure definition.
Definition at line 46 of file stm32f4xx_hal_tim.h.
uint32_t TIM_Base_InitTypeDef::Prescaler |
Specifies the prescaler value used to divide the TIM clock. This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF
Definition at line 48 of file stm32f4xx_hal_tim.h.
Referenced by HAL_InitTick(), and TIM_Base_SetConfig().
uint32_t TIM_Base_InitTypeDef::CounterMode |
Specifies the counter mode. This parameter can be a value of TIM Counter Mode
Definition at line 51 of file stm32f4xx_hal_tim.h.
Referenced by HAL_InitTick(), HAL_TIM_Base_Init(), HAL_TIM_Encoder_Init(), HAL_TIM_IC_Init(), HAL_TIM_OC_Init(), HAL_TIM_OnePulse_Init(), HAL_TIM_PWM_Init(), HAL_TIMEx_HallSensor_Init(), and TIM_Base_SetConfig().
uint32_t TIM_Base_InitTypeDef::Period |
Specifies the period value to be loaded into the active Auto-Reload Register at the next update event. This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF.
Definition at line 54 of file stm32f4xx_hal_tim.h.
Referenced by HAL_InitTick(), HAL_TIM_Base_Init(), HAL_TIM_Encoder_Init(), HAL_TIM_IC_Init(), HAL_TIM_OC_Init(), HAL_TIM_OnePulse_Init(), HAL_TIM_PWM_Init(), HAL_TIMEx_HallSensor_Init(), and TIM_Base_SetConfig().
uint32_t TIM_Base_InitTypeDef::ClockDivision |
Specifies the clock division. This parameter can be a value of TIM Clock Division
Definition at line 58 of file stm32f4xx_hal_tim.h.
Referenced by HAL_InitTick(), HAL_TIM_Base_Init(), HAL_TIM_Encoder_Init(), HAL_TIM_IC_Init(), HAL_TIM_OC_Init(), HAL_TIM_OnePulse_Init(), HAL_TIM_PWM_Init(), HAL_TIMEx_HallSensor_Init(), and TIM_Base_SetConfig().
uint32_t TIM_Base_InitTypeDef::RepetitionCounter |
Specifies the repetition counter value. Each time the RCR downcounter reaches zero, an update event is generated and counting restarts from the RCR value (N). This means in PWM mode that (N+1) corresponds to:
Definition at line 61 of file stm32f4xx_hal_tim.h.
Referenced by TIM_Base_SetConfig().
uint32_t TIM_Base_InitTypeDef::AutoReloadPreload |
Specifies the auto-reload preload. This parameter can be a value of TIM Auto-Reload Preload
Definition at line 72 of file stm32f4xx_hal_tim.h.
Referenced by HAL_InitTick(), HAL_TIM_Base_Init(), HAL_TIM_Encoder_Init(), HAL_TIM_IC_Init(), HAL_TIM_OC_Init(), HAL_TIM_OnePulse_Init(), HAL_TIM_PWM_Init(), HAL_TIMEx_HallSensor_Init(), and TIM_Base_SetConfig().