|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--PAR400EM
This class is a thin wrapper over a parallel port native library for a SOM400EM PLD's GPIO lines
Constructor Summary | |
PAR400EM()
Construct an parallel object |
Method Summary | |
int |
getshadow()
Return the current state of the output port |
int |
read()
Read a byte of data from the input port, PORTX This port is currently only 5 bits wide, MSBs 7,6, and 5 are masked to zero by the native method |
int |
write(int data)
Write a byte of data to the output port, PORTY This port is currently only 5 bits wide, MSBs 7,6, and 5 have no effect. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PAR400EM()
Method Detail |
public int write(int data)
data
- The byte of data to write to the port.
getshadow
public int read()
public int getshadow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |