|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Output interface represents an output pin. When the
pin is configured to be an output and the microcontroller attempts
to wrote to this pin, the installed instance of this interface
will be called.
| Method Summary | |
void |
disableOutput()
The disableOutput() method is called by the simulator
when the program changes the direction of the pin. |
void |
enableOutput()
The enableOutput() method is called by the simulator
when the program changes the direction of the pin. |
void |
write(boolean level)
The write() method is called by the simulator when
the program writes a logical level to the pin. |
| Method Detail |
public void enableOutput()
enableOutput() 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 disableOutput()
disableOutput() 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 write(boolean level)
write() method is called by the simulator when
the program writes a logical level to the pin. The device can then
take the appropriate action.
level - a boolean representing the logical level of the write
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||