85Views6Replies
Sleep Mode
If using sleep mode with the external interrupt to wake it. Does it always go into sleep mode after a preset time or can it go into sleep mode after inactivity also?
If using sleep mode with the external interrupt to wake it. Does it always go into sleep mode after a preset time or can it go into sleep mode after inactivity also?
Comments
Best Answer 8 years ago
You push it into sleep mode, by tickling certain registers in the chip. So the timing of it is down to you. Use a watchdog timer, where any activity resets the timer, but when it times out, the chip's forced to sleep.
Answer 8 years ago
Yes i saw that one. It is good. What i was confirming is they all work on timers. They all sleep after some period of time? I am actually not working with a watch dog reoccurring but an external interrupt.
Answer 8 years ago
They only sleep when you tell 'em to.
Answer 8 years ago
That's what i wanted to know.
Thanks for answering Steve.
W
Answer 8 years ago
Ah gotcha!
8 years ago
There's a very good, and explanatory sketch called "Nightingale" which shows sleep mode well