chanchal.chauhan
Full Member level 4
- Joined
- Apr 23, 2009
- Messages
- 216
- Helped
- 5
- Reputation
- 10
- Reaction score
- 1
- Trophy points
- 1,298
- Location
- Hyderabad, India
- Activity points
- 2,539
The sleep instruction will stop the clock oscillator unconditionally. Wake up is performed by the WDT or a hardware interrupt. Consult the data sheet!If i will shutdown the master clock oscillator than how would i turn on my system?
while (1)
{
// prepare sleep
SLEEP(); // wait for event
// you may want to have an ASM NOP instruction here
// some event reaction
}
As of in PIC16f506 microcontroller it is not possible to use ADC in sleep mode.
In my project i need adc sensing continuously.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?