com.sun.spot.sensorboard.hardware
Class AtmegaExternalBoard
java.lang.Object
com.sun.spot.peripheral.external.ExternalBoard
com.sun.spot.sensorboard.hardware.AtmegaExternalBoard
- All Implemented Interfaces:
- IExternalBoard
- Direct Known Subclasses:
- AtmegaProtoBoard, EDemoController
public abstract class AtmegaExternalBoard
- extends ExternalBoard
A spot sensorboard that has a resident atmega part
The intent is that this ease the process of programming the atmega.
May want to generalize this to any daughter card that has programmable assets.
- Author:
- arshan
NOTES:
1/12/06 - created file
atmega
protected Atmega atmega
AtmegaExternalBoard
public AtmegaExternalBoard(String PART_ID)
getAtmega
public Atmega getAtmega()
- call to the board to return a pointer to the Atmega Controller
- Returns:
- atmega object
setAtmega
public void setAtmega(Atmega atm)
- set the atmega part
- Parameters:
atm
- atmega object
getProgrammingSPI
public ISPI getProgrammingSPI()
- Returns:
- handle to the programming spi bus
getAtmegaSPI
public ISPI getAtmegaSPI()
- Returns:
- handle to the standard spi bus
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.