avrora.sim.radio
Class CC1000Radio.SerialConfigurationInterface.PDATAInput

java.lang.Object
  extended byavrora.sim.mcu.Microcontroller.InputPin
      extended byavrora.sim.radio.CC1000Radio.SerialConfigurationInterface.PDATAInput
All Implemented Interfaces:
Microcontroller.Pin.Input
Enclosing class:
CC1000Radio.SerialConfigurationInterface

protected class CC1000Radio.SerialConfigurationInterface.PDATAInput
extends Microcontroller.InputPin


Constructor Summary
protected CC1000Radio.SerialConfigurationInterface.PDATAInput()
           
 
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

CC1000Radio.SerialConfigurationInterface.PDATAInput

protected CC1000Radio.SerialConfigurationInterface.PDATAInput()
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