Michel Jamati

MC13213  voltage level detection

Discussion created by Michel Jamati on Mar 27, 2007
Latest reply on Mar 30, 2007 by Ryan Striker
I was wondering how can I acertain that I ma no longer supplying my processor with a constant wall-power source and that the battery supply has kicked in (let's assume that a power shortage has occured)?
 
I know about the LVD interrupts, but don't those just arise in the event of complete loss of all power (going towards 0) to intiate a hardware reset to preserve memory integrity?
 
I think what I'm looking for is how to gauge the current power level (much like the indicators on a cell-phone battery) or at least something along the lines of knowing that I am now dealing with batteries instead of wall or USB power (CPU crashed...).
 
 
Thanks. 

Outcomes