|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISpot
The interface to the root object of the Spot base library.
This interface provides access to the LED on the Spot board, to the AT91 peripherals,
and to other resources such as the software SPI implementation.
| Method Summary | |
|---|---|
void |
flashConfigPage(ConfigPage configPage)
Write a ConfigPage into the flash. |
IAT91_AIC |
getAT91_AIC()
Get access to the AT91 Interrupt Controller |
IAT91_PIO |
getAT91_PIO(int pioSelector)
Get access to the AT91 Parallel I/O Controller. |
IAT91_TC |
getAT91_TC(int index)
Get access to an AT91 Timer-Counter. |
ConfigPage |
getConfigPage()
Get the configuration page held in flash |
IDriverRegistry |
getDriverRegistry()
Get the Driver Registry. |
Hashtable |
getExternalBoardMap()
Get the map of external boards. |
FiqInterruptDaemon |
getFiqInterruptDaemon()
Get the FiqInterruptDaemon. |
IFlashMemoryDevice |
getFlashMemoryDevice()
Get access to the flash memory on the Spot |
ILed |
getGreenLed()
Get access to the green LED on the Spot processor board. |
byte |
getHardwareType()
Get the hardware type code for this device, as defined in ConfigPage. |
I802_15_4_MAC |
getI802_15_4_MAC()
Get access to the I802.15.4 radio MAC layer |
I802_15_4_PHY |
getI802_15_4_PHY()
Get access to the physical I802.15.4 radio device |
IProprietaryRadio |
getIProprietaryRadio()
Get access to the radio via its proprietary (non-I802.15.4) interface. |
ILTC3455 |
getLTC3455()
power control chip driver |
OTACommandServer |
getOTACommandServer()
Get the OTA Command Server, creating one if necessary |
IPBPMFactory |
getPBPMFactory()
Get the factory for creating port-based protocol managers |
Properties |
getPersistentProperties()
Get all the persistent properties, as held in the flash memory |
String |
getPersistentProperty(String key)
Get a persistent property, as held in the flash memory |
IPowerController |
getPowerController()
Get the PowerController - the AVR on the spot. |
byte[] |
getPublicKey()
Get the Public Key used to sign and verify application and library suites, and the config page. |
ILed |
getRedLed()
Get access to the red LED on the Spot processor board. |
ISecuredSiliconArea |
getSecuredSiliconArea()
Get the SecuredSiliconArea |
ISleepManager |
getSleepManager()
Get access to the sleep manager for the Spot |
ISpiMaster |
getSPI()
Get access to the SPI interface. |
ISpotPins |
getSpotPins()
Get the singleton SpotPins instance. |
IUSBPowerDaemon |
getUsbPowerDaemon()
Get the usb power daemon |
boolean |
isMasterIsolate()
|
boolean |
isRunningOnHost()
|
void |
refreshConfigPage()
Force the Spot to re-read the configuration page, or at least invalidate any cached copy. |
void |
resetExternalBoardMap()
Clear the cache of external board properties. |
void |
setPersistentProperty(String key,
String value)
Set a persistent property in the flash memory |
| Method Detail |
|---|
boolean isRunningOnHost()
boolean isMasterIsolate()
byte getHardwareType()
ISpotPins getSpotPins()
ILed getGreenLed()
ILed getRedLed()
FiqInterruptDaemon getFiqInterruptDaemon()
IAT91_PIO getAT91_PIO(int pioSelector)
pioSelector - selects the PIO required (use one of the selector symbols found in IAT91_PIO)
IAT91_AIC getAT91_AIC()
I802_15_4_PHY getI802_15_4_PHY()
I802_15_4_MAC getI802_15_4_MAC()
IProprietaryRadio getIProprietaryRadio()
ISpiMaster getSPI()
IDriverRegistry getDriverRegistry()
ISecuredSiliconArea getSecuredSiliconArea()
IAT91_TC getAT91_TC(int index)
index - The index of the required TC in the range 0-5
ConfigPage getConfigPage()
byte[] getPublicKey()
void flashConfigPage(ConfigPage configPage)
void refreshConfigPage()
Hashtable getExternalBoardMap()
void resetExternalBoardMap()
IFlashMemoryDevice getFlashMemoryDevice()
ISleepManager getSleepManager()
ILTC3455 getLTC3455()
IUSBPowerDaemon getUsbPowerDaemon()
IPowerController getPowerController()
IPBPMFactory getPBPMFactory()
void setPersistentProperty(String key,
String value)
key - value - the value required or null to eraseString getPersistentProperty(String key)
key -
Properties getPersistentProperties()
OTACommandServer getOTACommandServer()
throws IOException
IOException
|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||