HAL_TIM_OC_ConfigChannel() function
Initializes the TIM Output Compare Channels according to the specified parameters in the TIM_OC_InitTypeDef.
Arguments
htim
TIM Output Compare handle
sConfig
TIM Output Compare configuration structure
Channel
TIM Channels to configure This parameter can be one of the following values: @arg TIM_CHANNEL_1: TIM Channel 1 selected @arg TIM_CHANNEL_2: TIM Channel 2 selected @arg TIM_CHANNEL_3: TIM Channel 3 selected @arg TIM_CHANNEL_4: TIM Channel 4 selected
Return value
HAL status
Examples
HAL_TIM_OC_ConfigChannel() is referenced by
39 libraries and example projects.
Functions called by HAL_TIM_OC_ConfigChannel()
HAL_TIM_OC_ConfigChannel()
assert_failed() all items filtered out
Data read by HAL_TIM_OC_ConfigChannel()
Data written by HAL_TIM_OC_ConfigChannel()
HAL_TIM_OC_ConfigChannel()::status all items filtered out
HAL_TIM_OC_ConfigChannel()
HAL_TIM_OC_ConfigChannel()::status all items filtered out
Type of HAL_TIM_OC_ConfigChannel()
HAL_TIM_OC_ConfigChannel()