avrora.sim.platform
Class ExternalFlash.PD2Input

java.lang.Object
  extended byavrora.sim.mcu.Microcontroller.InputPin
      extended byavrora.sim.platform.ExternalFlash.PD2Input
All Implemented Interfaces:
Microcontroller.Pin.Input
Enclosing class:
ExternalFlash

protected class ExternalFlash.PD2Input
extends Microcontroller.InputPin


Constructor Summary
protected ExternalFlash.PD2Input()
           
 
Method Summary
 boolean read()
          The read() method is called by the simulator when the program attempts to read the level of the pin.
 
Methods inherited from class avrora.sim.mcu.Microcontroller.InputPin
disableInput, enableInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalFlash.PD2Input

protected ExternalFlash.PD2Input()
Method Detail

read

public boolean read()
Description copied from interface: Microcontroller.Pin.Input
The read() method is called by the simulator when the program attempts to read the level of the pin. The device can then compute and return the current level of the pin.

Returns:
true if the level of the pin is high; false otherwise