General-purpose timers (TIM)
22.2.13.2 TIM_ICStructInit
void TIM_ICStructInit ( TIM_ICInitTypeDef * TIM_ICInitStruct)
Fills each TIM_ICInitStruct member with its default value.
ï‚· TIM_ICInitStruct : pointer to a TIM_ICInitTypeDef structure
which will be initialized.
22.2.13.3 TIM_PWMIConfig
void TIM_PWMIConfig ( TIM_TypeDef * TIMx,
TIM_ICInitTypeDef * TIM_ICInitStruct)
Configures the TIM peripheral according to the specified
parameters in the TIM_ICInitStruct to measure an external PWM
signal.
ï‚· TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.
ï‚· TIM_ICInitStruct : pointer to a TIM_ICInitTypeDef structure
that contains the configuration information for the specified
TIM peripheral.
22.2.13.4 TIM_GetCapture1
uint32_t TIM_GetCapture1 ( TIM_TypeDef * TIMx)
Gets the TIMx Input Capture 1 value.
ï‚· TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
ï‚· Capture Compare 1 Register value.