I am trying to put the controller to sleep mode. In the data sheet it is given that U bit in CCR register has to be set and S bit has to cleared to go to sleep.
Currently we used "asm ANDCC #0x7F;" instruction which only clears the S bit.
ANDCC instruction access only lower 8 bit of CCR. But U bit is 15th bit od CCR.
How can we set the U bit in CCR?
The current sequence is
asm ANDCC #0x7F;