|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAT91_PowerManager
Interface to the 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 |
|---|
name, setUp, 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()
|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||