|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.sim.mcu.ATMega128L.SimImpl.PowerManagement
Implementation of MCU Power Managment, e.g. MCUCR register
| Nested Class Summary | |
protected class |
ATMega128L.SimImpl.PowerManagement.ControlRegister
implementation of the MCUCR control register |
| Field Summary | |
static byte |
ACTIVE
|
static java.lang.String |
activeModeName
|
static byte |
ADC_NOISE
|
static byte |
EXTENDED_STANDBY
|
static byte |
IDLE
|
static byte |
POWER_DOWN
|
static byte |
POWER_SAVE
|
static byte |
RESERVED1
|
static byte |
RESERVED2
|
java.lang.String[] |
sleepModeName
|
static byte |
STANDBY
|
| Method Summary | |
protected byte |
getMode()
get the mode, the system is in |
protected java.lang.String |
getModeName()
get the name of the current mode |
protected void |
sleep()
called when the sleep opcode gets executed |
protected int |
wakeup()
called, when the system wakes up commonly the system wakes up via interrupt ;-) Do not call this method, when the system is not sleeping. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final byte ACTIVE
public static final byte IDLE
public static final byte RESERVED1
public static final byte ADC_NOISE
public static final byte RESERVED2
public static final byte POWER_DOWN
public static final byte STANDBY
public static final byte POWER_SAVE
public static final byte EXTENDED_STANDBY
public final java.lang.String[] sleepModeName
public static final java.lang.String activeModeName
| Method Detail |
protected void sleep()
protected int wakeup()
protected byte getMode()
protected java.lang.String getModeName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||