General-purpose timers (TIM)
Field Documentation
ï‚· uint32_t TIM_OCInitTypeDef::TIM_OCMode
ï€ Specifies the TIM mode. This parameter can be a value of
TIM_Output_Compare_and_PWM_modes
ï‚· uint16_t TIM_OCInitTypeDef::TIM_OutputState
ï€ Specifies the TIM Output Compare state. This parameter can be a value of
TIM_Output_Compare_State
ï‚· uint16_t TIM_OCInitTypeDef::TIM_OutputNState
ï€ Specifies the TIM complementary Output Compare state. This parameter can be
a value of TIM_Output_Compare_N_State
ï‚· uint32_t TIM_OCInitTypeDef::TIM_Pulse
ï€ Specifies the pulse value to be loaded into the Capture Compare Register. This
parameter can be a number between 0x0000 and 0xFFFF
ï‚· uint16_t TIM_OCInitTypeDef::TIM_OCPolarity
ï€ Specifies the output polarity. This parameter can be a value of
TIM_Output_Compare_Polarity
ï‚· uint16_t TIM_OCInitTypeDef::TIM_OCNPolarity
ï€ Specifies the complementary output polarity. This parameter can be a value of
TIM_Output_Compare_N_Polarity
ï‚· uint16_t TIM_OCInitTypeDef::TIM_OCIdleState
ï€ Specifies the TIM Output Compare pin state during Idle state. This parameter
can be a value of TIM_Output_Compare_Idle_State
ï‚· uint16_t TIM_OCInitTypeDef::TIM_OCNIdleState
ï€ Specifies the TIM Output Compare pin state during Idle state. This parameter
can be a value of TIM_Output_Compare_N_Idle_State
22.1.4 TIM_ICInitTypeDef
TIM_ICInitTypeDef is defined in the stm32f30x_tim.h
Data Fields
ï‚· uint16_t TIM_Channel
ï‚· uint16_t TIM_ICPolarity
ï‚· uint16_t TIM_ICSelection
ï‚· uint16_t TIM_ICPrescaler
ï‚· uint16_t TIM_ICFilter
Field Documentation
ï‚· uint16_t TIM_ICInitTypeDef::TIM_Channel
ï€ Specifies the TIM channel. This parameter can be a value of TIM_Channel
ï‚· uint16_t TIM_ICInitTypeDef::TIM_ICPolarity
ï€ Specifies the active edge of the input signal. This parameter can be a value of
TIM_Input_Capture_Polarity
ï‚· uint16_t TIM_ICInitTypeDef::TIM_ICSelection
ï€ Specifies the input. This parameter can be a value of
TIM_Input_Capture_Selection