|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Input
interface represents an input pin. When the pin is configured to be an input
and the microcontroller attempts to read from this pin, the installed instance of this interface
will be called.
Method Summary | |
void |
disableInput()
The disableInput() method is called by the simulator when the program changes the
direction of the pin. |
void |
enableInput()
The enableInput() method is called by the simulator when the program changes the
direction of the pin. |
boolean |
read()
The read() method is called by the simulator when the program attempts to read the
level of the pin. |
Method Detail |
public void enableInput()
enableInput()
method is called by the simulator when the program changes the
direction of the pin. The device connected to this pin can then take action accordingly.
public void disableInput()
disableInput()
method is called by the simulator when the program changes the
direction of the pin. The device connected to this pin can then take action accordingly.
public boolean read()
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |