Get Enabled Communication-Ports

\i I C ?

Returns a port mask where a 0-bit means that the corresponding communication-port is currently disabled.

Response: [ACK] port_mask [ACK]

Bit Description
1 serial port 0
2 serial port 1
3 USB port
4 I²C port
5 SPI port
6 ethernet port

Response Example

[ACK][08][ACK]

Currently, all communication-ports except USB are disabled.

Not supported by: DPC3020, DPC2060, DPC10xx

See also:

Controlling Options
Disable Communication-Ports
Get Current Communication-Port