I am trying to clear the TMR2->TGCR, TIM12RS bit by writing a 1 to that location. However, as I step through the code and watch the instruction execute, the TIM12RS bit does not get set. What can be holding TMR2 1:2 in reset?
I am using the Logic BSL code, which looks like this:
SETBIT(TMR2->TGCR, TIM12RS);
Any thoughts would be appreciated.
Thx,
MikeH