|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcontrol.comm.RS232Selector
public class RS232Selector
Select hardware port RS232 is linked to.
Example: switch JControl-PLUI's RS232 to communicate either via external serial connector or with the internal bus control unit (power-line modem).
Wrapper for class GPIO
.
lib (PLUI) |
Field Summary | |
---|---|
static int |
EXTERNAL
external RS232 port |
static int |
INTERNAL
internal RS232 port |
(package private) static int |
RS232_PORTPIN
the portpin which the RS232 switch is connected to |
Constructor Summary | |
---|---|
RS232Selector()
|
Method Summary | |
---|---|
static void |
selectPort(int port)
Select RS232 port |
Methods inherited from class java.lang.Object |
---|
clone, equals, notifyAll, wait |
Field Detail |
---|
public static final int EXTERNAL
public static final int INTERNAL
static final int RS232_PORTPIN
Constructor Detail |
---|
public RS232Selector()
Method Detail |
---|
public static void selectPort(int port)
port
- specify either INTERNAL or EXTERNAL
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |