avrora.sim.mcu
Class SPI.TransmitReceive

java.lang.Object
  extended byavrora.sim.mcu.SPI.TransmitReceive
All Implemented Interfaces:
Simulator.Event
Enclosing class:
SPI

protected class SPI.TransmitReceive
extends java.lang.Object
implements Simulator.Event

The SPI transfer event.


Constructor Summary
protected SPI.TransmitReceive()
           
 
Method Summary
protected  void enableTransfer()
           
 void fire()
          Notes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPI.TransmitReceive

protected SPI.TransmitReceive()
Method Detail

enableTransfer

protected void enableTransfer()

fire

public void fire()
Notes. The way this delay is setup right now, when the ATMega128 is in master mode and transmits, the connected device has a delayed receive. For the radio, this is not a problem, as the radio is the master and is responsible for ensuring correct delivery time for the SPI.

Specified by:
fire in interface Simulator.Event