uc-sdk
|
TIM Time Base Init structure definition. More...
#include <stm32f10x_tim.h>
Public Attributes | |
uint16_t | TIM_Prescaler |
uint16_t | TIM_CounterMode |
uint16_t | TIM_Period |
uint16_t | TIM_ClockDivision |
uint8_t | TIM_RepetitionCounter |
TIM Time Base Init structure definition.
Definition at line 51 of file stm32f10x_tim.h.
uint16_t TIM_TimeBaseInitTypeDef::TIM_ClockDivision |
Specifies the clock division. This parameter can be a value of TIM_Clock_Division_CKD
Definition at line 63 of file stm32f10x_tim.h.
uint16_t TIM_TimeBaseInitTypeDef::TIM_CounterMode |
Specifies the counter mode. This parameter can be a value of TIM_Counter_Mode
Definition at line 56 of file stm32f10x_tim.h.
uint16_t TIM_TimeBaseInitTypeDef::TIM_Period |
Specifies the period value to be loaded into the active Auto-Reload Register at the next update event. This parameter must be a number between 0x0000 and 0xFFFF.
Definition at line 59 of file stm32f10x_tim.h.
uint16_t TIM_TimeBaseInitTypeDef::TIM_Prescaler |
Specifies the prescaler value used to divide the TIM clock. This parameter can be a number between 0x0000 and 0xFFFF
Definition at line 53 of file stm32f10x_tim.h.
uint8_t TIM_TimeBaseInitTypeDef::TIM_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 66 of file stm32f10x_tim.h.