I'd like to try to make use of the IDLE assembly instruction (SPRU732J, page 239). Obviously I need to make sure the appropriate wake interrupts are configured properly and enabled first.
Is there a C macro I can use to perform the IDLE function?
If not, what other inline assembly instructions do I need to wrap around the IDLE instruction to deal with all the "thou shalt/shalt not" restrictions on this instruction?