From: Gene S. Berkowitz on 2 Jul 2005 23:18 In article <11cdd3ho44vr544(a)corp.supernews.com>, lbax02.spamguard(a)baxcode.com says... > I looked at the .h files - it looks like there's several different levels. > My guess is that I want LPM4_bits for "wakeup" (ie. restore everything to > active status - there's also a "LPM4_EXIT"). There's nowhere in my code > that explicitly sets the chip into low-power mode (at least not that I can > tell). No, you've got them backwards. Inserting LPM4_EXIT into your ISR will put you in the LOWEST power mode (CPU Off, Oscillator Off) when the ISR exits. If you never use low power mode, then you never need to use the LPMx_EXIT feature anyway. --Gene
From: Baxter on 3 Jul 2005 15:52 Good to know. I'm operating kind of blind here - and, as I indicated, I'm completely new to Embedded programming (at least of this kind.) -- ------------------------------------------------------------------------- Free software - Baxter Codeworks www.baxcode.com ------------------------------------------------------------------------- "Gene S. Berkowitz" <first.last(a)comcast.net> wrote in message news:MPG.1d3122f6e6f1413a989683(a)newsgroups.comcast.net... > In article <11cdd3ho44vr544(a)corp.supernews.com>, > lbax02.spamguard(a)baxcode.com says... > > I looked at the .h files - it looks like there's several different levels. > > My guess is that I want LPM4_bits for "wakeup" (ie. restore everything to > > active status - there's also a "LPM4_EXIT"). There's nowhere in my code > > that explicitly sets the chip into low-power mode (at least not that I can > > tell). > > No, you've got them backwards. Inserting LPM4_EXIT into your > ISR will put you in the LOWEST power mode (CPU Off, Oscillator Off) when > the ISR exits. > If you never use low power mode, then you never need to use the > LPMx_EXIT feature anyway. > > --Gene
First
|
Prev
|
Pages: 1 2 Prev: How to make a bootable compact flash Next: Chipcon & other RF transcievers? |