HAL_TIM_IC_Init() function
Initializes the TIM Input Capture Time base according to the specified parameters in the TIM_HandleTypeDef and initializes the associated handle.
Arguments
htim
TIM Input Capture handle
Return value
HAL status
Notes
Switching from Center Aligned counter mode to Edge counter mode (or reverse) requires a timer reset to avoid unexpected direction due to DIR bit readonly in center aligned mode. Ex: call HAL_TIM_IC_DeInit() before HAL_TIM_IC_Init()
Examples
HAL_TIM_IC_Init() is referenced by
44 libraries and example projects.
Functions called by HAL_TIM_IC_Init()
HAL_TIM_IC_Init()
assert_failed() all items filtered out
Data read by HAL_TIM_IC_Init()
Data written by HAL_TIM_IC_Init()
HAL_TIM_IC_Init()
Type of HAL_TIM_IC_Init()
HAL_TIM_IC_Init()