|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dalsemi.system.BytePort
This class allows byte wide access to available processor ports.
| Field Summary | |
static byte |
Port5
Port 5, pins 14-21. |
| Constructor Summary | |
BytePort(byte portname)
Creates a new instance of BytePort using the port specified. |
|
| Method Summary | |
int |
read()
Reads a single byte from the port. |
void |
write(int value)
Writes a single byte to the port. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final byte Port5
| Constructor Detail |
public BytePort(byte portname)
BytePort using the port specified.
portname - descriptor of port to use (e.g. Port5)| Method Detail |
public void write(int value)
value - single byte to writepublic int read()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||