|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.spot.peripheral.external.ExternalBoard com.sun.spot.sensorboard.hardware.AtmegaExternalBoard com.sun.spot.sensorboard.AtmegaProtoBoard
public class AtmegaProtoBoard
beginning of the file for the AtmegaPrototyping board. THIS FILE IS NOT COMPLETE. Use at your own risk. Waiting on representitive hardware.
Field Summary | |
---|---|
protected static Atmega48 |
atmegaController
|
static String |
PART_ID
|
Fields inherited from class com.sun.spot.sensorboard.hardware.AtmegaExternalBoard |
---|
atmega |
Fields inherited from class com.sun.spot.peripheral.external.ExternalBoard |
---|
BOARD_MAGIC_WORD, ID_PROPERTY_NAME |
Method Summary | |
---|---|
void |
forceSelect()
|
Atmega |
getAtmega()
call to the board to return a pointer to the Atmega Controller |
protected static Properties |
getInitialProperties()
Get the correct set of properties for this board to its flash memory |
static AtmegaProtoBoard |
getInstance()
|
ISPI |
getProgrammingSPI()
|
static IFlashMemoryDevice |
getSerialFlashMemory()
|
static ISPI |
getSPI()
|
protected ISPI |
getSPIPrim()
|
protected void |
hardwareNotValid()
Handle missing id information by asking user if it should be written |
static void |
main(String[] args)
so the board select should really be detemined by the instantiation |
Methods inherited from class com.sun.spot.sensorboard.hardware.AtmegaExternalBoard |
---|
getAtmegaSPI, setAtmega |
Methods inherited from class com.sun.spot.peripheral.external.ExternalBoard |
---|
forceChipSelectPin, getBoardIndex, getProperties, getSerialFlash, isInstalled, newBoardDeviceSPI, setProperties |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Atmega48 atmegaController
public static final String PART_ID
Method Detail |
---|
public static AtmegaProtoBoard getInstance()
public static ISPI getSPI()
IOException
public static IFlashMemoryDevice getSerialFlashMemory()
public static void main(String[] args)
protected ISPI getSPIPrim()
IOException
protected void hardwareNotValid()
hardwareNotValid
in class ExternalBoard
public void forceSelect()
protected static Properties getInitialProperties()
public Atmega getAtmega()
AtmegaExternalBoard
getAtmega
in class AtmegaExternalBoard
public ISPI getProgrammingSPI()
getProgrammingSPI
in class AtmegaExternalBoard
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |