SunSPOT API V3.0


com.sun.spot.peripheral
Interface ILTC3455

All Superinterfaces:
IDriver

public interface ILTC3455
extends IDriver

Interface to LTC3455 power control chip on the Spot. This regulates Spot power and charges the battery if USB power is available.

Author:
Syntropy

Method Summary
 boolean isHighPower()
          Read the current high power state.
 boolean isSuspended()
          Read the current USB suspended state.
 void setHighPower(boolean state)
          Set high power state.
 void setSuspended(boolean state)
          Set USB suspended mode (low power).
 
Methods inherited from interface com.sun.spot.peripheral.IDriver
getDriverName, setUp, shutDown, tearDown
 

Method Detail

setHighPower

void setHighPower(boolean state)
Set high power state. If the Spot is connected to USB and high power (500mA) has been negotiated with the host the battery can be charged using a higher current.

Parameters:
state - whether high power is available

isHighPower

boolean isHighPower()
Read the current high power state.

Returns:
the high power state

setSuspended

void setSuspended(boolean state)
Set USB suspended mode (low power). Normally done in response to a USB host requesting a suspend for power saving.


isSuspended

boolean isSuspended()
Read the current USB suspended state.

Returns:
the suspend state

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.