Nguyen Bao

Please help me !

Discussion created by Nguyen Bao on May 23, 2006
Latest reply on May 23, 2006 by Mark Hotchkiss
Dear everybody,
 
       When I set the register T1SC ( TIM1 status and control register of MC68HC908GZ60 ) the value 0x30, the Metrowerk's CodeWarrior 5.0 does not set bit T1SC_TRST to the value 1 ( I want to reset TIM1 counter register). I tried to use the operator "~" ( bitwise NOT ) for bit T1SC_TRST but nothing happenned, even CodeWarrior 5.0 ignored this command ( I see this problem when I debug my program ). What's problem ? How can I set the bit T1SC_TRST ?
 
Thanks a lot
Best regards 

Outcomes