|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAT91_PowerManager
Interface to the AT91 power manager for the Sun SPOT, allowing peripheral power consumption to be controlled by switching the peripheral clocks on or off.
Method Summary | |
---|---|
void |
disablePeripheralClock(int mask)
Disable the clocks for peripherals whose bits are set in the mask. |
void |
enablePeripheralClock(int mask)
Enable the clocks for peripherals whose bits are set in the mask. |
int |
getEnabledPeripheralClocks()
Return a mask containing a set bit for each peripheral whose clock is enabled. |
Methods inherited from interface com.sun.spot.peripheral.IDriver |
---|
getDriverName, setUp, shutDown, tearDown |
Method Detail |
---|
void enablePeripheralClock(int mask)
mask
- containing one bit that is the peripheral clock to enablevoid disablePeripheralClock(int mask)
mask
- containing one bit that is the peripheral clock to disableint getEnabledPeripheralClocks()
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |