|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.sim.mcu.ATMega128L.SimImpl.SPI
Serial Peripheral Interface. Used on the Mica2
platform for radio communication.
Nested Class Summary | |
protected class |
ATMega128L.SimImpl.SPI.SPCRReg
SPI control register. |
protected class |
ATMega128L.SimImpl.SPI.TransmitReceive
The SPI transfer event. |
Nested classes inherited from class avrora.sim.mcu.ATMega128L.SPIDevice |
ATMega128L.SPIDevice.SPIFrame |
Field Summary | |
protected int |
period
|
Method Summary | |
void |
connect(ATMega128L.SPIDevice d)
|
void |
receiveFrame(ATMega128L.SPIDevice.SPIFrame frame)
Receive a frame. |
ATMega128L.SPIDevice.SPIFrame |
transmitFrame()
Transmit a frame from this device. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int period
Method Detail |
public void connect(ATMega128L.SPIDevice d)
connect
in interface ATMega128L.SPIDevice
public void receiveFrame(ATMega128L.SPIDevice.SPIFrame frame)
ATMega128L.SPIDevice
receiveFrame
in interface ATMega128L.SPIDevice
frame
- the frame to be receivedpublic ATMega128L.SPIDevice.SPIFrame transmitFrame()
ATMega128L.SPIDevice
transmitFrame
in interface ATMega128L.SPIDevice
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |