Question regarding timer1 lib functions
Hello,
i am working on a BLDC motor control, based on hall sensors for rotor position.
I am starting to write some code, and came across a example on google
the function i am refering is this : TIM_SelectOCxM(TIM1, TIM_Channel_1, TIM_ForcedAction_Active);
From what i understand so far, is that this function disables the timer channel1 before changing the OC mode, but the forced action parameter? It forces the output in high level state ( logic 1) ?
Thanks