|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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()
IOExceptionpublic static IFlashMemoryDevice getSerialFlashMemory()
public static void main(String[] args)
protected ISPI getSPIPrim()
IOExceptionprotected void hardwareNotValid()
hardwareNotValid in class ExternalBoardpublic void forceSelect()
protected static Properties getInitialProperties()
public Atmega getAtmega()
AtmegaExternalBoard
getAtmega in class AtmegaExternalBoardpublic ISPI getProgrammingSPI()
getProgrammingSPI in class AtmegaExternalBoard
|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||