HAL_TIM_OnePulse_ConfigChannel() function
Initializes the TIM One Pulse Channels according to the specified parameters in the TIM_OnePulse_InitTypeDef.
Arguments
htim
TIM One Pulse handle
sConfig
TIM One Pulse configuration structure
OutputChannel
TIM output channel 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
TIM input Channel 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
Return value
HAL status
Notes
To output a waveform with a minimum delay user can enable the fast mode by calling the
__HAL_TIM_ENABLE_OCxFAST
macro. Then CCx output is forced in response to the edge detection on TIx input, without taking in account the comparison.
Examples
HAL_TIM_OnePulse_ConfigChannel() is referenced by
9 libraries and example projects.
Functions called by HAL_TIM_OnePulse_ConfigChannel()
HAL_TIM_OnePulse_ConfigChannel()
assert_failed() all items filtered out
Data read by HAL_TIM_OnePulse_ConfigChannel()
Data written by HAL_TIM_OnePulse_ConfigChannel()
HAL_TIM_OnePulse_ConfigChannel()::status HAL_TIM_OnePulse_ConfigChannel()::temp1 all items filtered out
HAL_TIM_OnePulse_ConfigChannel()
HAL_TIM_OnePulse_ConfigChannel()::status all items filtered out
Type of HAL_TIM_OnePulse_ConfigChannel()
HAL_TIM_OnePulse_ConfigChannel()