Description:
Returns | Range | Description |
---|---|---|
portMask | Bits 1 ... 6 | mask of the current communication-ports |
Returns a port mask where a 0-bit means that the corresponding communication-port is currently disabled.
Description |
---|
PORT_SERIAL_0 |
PORT_SERIAL_1 |
PORT_USB |
PORT_I²C |
PORT_SPI |
PORT_ETHERNET |
Example
(IO.PORT_USB == IO.getEnabledCommunicationPorts())
If this expression evaluates to true, currently all communication-ports except USB are disabled.
See also:
Copyright © demmel products gmbh. All rights reserved.