Question
TIM2 OC ACTIVE mode issue
Posted on June 21, 2018 at 13:47
#stm32
Hello
I have been experimenting with OC mode of the TIMER2 and couldnt able understand the terms
OCPolarity and Active and inactive mode.
below trace i got from this configuration
/* Common configuration for all channels */
sConfig.OCMode = TIM_OCMODE_ACTIVE; sConfig.OCPolarity = TIM_OCPOLARITY_HIGH;I was expecting OCMODE_ACTIVE means channel will be held HIGH , but on a match channel forced to low,
why is that ? can you please help me to understand this ?
#stm32