\i I C D bits::port_mask word::timeout
Parameter | Type | Range | Description |
---|---|---|---|
port_mask | bits | Bits 1 ... 6 | bitmask for communication-port |
timeout | word | 0 ... 65535 | timeout in units of 10ms |
Disables the communication-ports that are 0-bits in the port_mask. After the timeout period, all ports are enabled again. The bits of are defined as follows:
Bit | Description |
---|---|
1 | serial port 0 |
2 | serial port 1 |
3 | USB port |
4 | I²C port |
5 | SPI port |
6 | ethernet port |
Note
Response: | [ACK] |
Example
\iICD\x76\D500
Disables the USB port for 5 seconds.
Not supported by: DPC3020, DPC2060, DPC10xx
See also:
Copyright © demmel products gmbh. All rights reserved.