Why is the function HAL_TIM_OnePulse_Start() limited to channels 1 and 2 on STM32F0xx?
The function HAL_TIM_OnePulse_Start() only operates on channels 1 and 2.
The comment inside it says:
"in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2; if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and if TIM_CHANNEL_1 is used as input, the TIM_CHANNEL_2 will be used as output; whatever the combination, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be enabled together".
Nothing in the reference manual says anything about this limitation. I'm trying to use this function to generate a single pulse on channel 3, and I don't understand why the HAL API doesn't allow this.
I'm using the latest FW package FW_F0 V1.11.4 for the STM32F0xx chip series, but I've seen identical code for the FW package for the STM32H7xx series chips.
