Hello Unregistered ,
Originally Posted by andybarrett1 Hi All Both Sleep and nap seem to be for short time durations.....??? You could cheat by using the ASM sleep directive thus. Code: asm sleep nop nop endasm See section 14.8.1 (Wake-up from sleep) in the datasheet to understand why you may need nops. This way you can make the processor sleep indefinitely
asm sleep nop nop endasm
View Tag Cloud
Forum Rules
Bookmarks