From: Gene S. Berkowitz on
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
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