HAL_TIM_PWM_ConfigChannel() function
Initializes the TIM PWM channels according to the specified parameters in the TIM_OC_InitTypeDef.
Arguments
htim
TIM PWM handle
sConfig
TIM PWM configuration structure
Channel
TIM Channels to be configured 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_PWM_ConfigChannel() is referenced by
59 libraries and example projects.
Functions called by HAL_TIM_PWM_ConfigChannel()
HAL_TIM_PWM_ConfigChannel()
assert_failed() all items filtered out
Data read by HAL_TIM_PWM_ConfigChannel()
Data written by HAL_TIM_PWM_ConfigChannel()
HAL_TIM_PWM_ConfigChannel()::status all items filtered out
HAL_TIM_PWM_ConfigChannel()
HAL_TIM_PWM_ConfigChannel()::status all items filtered out
Type of HAL_TIM_PWM_ConfigChannel()
HAL_TIM_PWM_ConfigChannel()