7.7.4.1. Example: Read the current GPIO configuration of the connected remote
device
Read the current GPIO configuration of the connected remote device:
Start signal
Command
Length
CS
0x02
0x2C
0x00 0x00
0x2E
Response:
Start signal
Command | 0x40
Length
Status
Blocks
CS
0x02
0x6C
0x15 0x00
0x00
0x03
0x01
0x02 0x01
0x03
0x02
0x02 0x01
0x02
0x03
0x00
0x02
0x04
0x00
0x02
0x05
0x00
0x02
0x06
0x00
0x7C
The GPIOs with GPIO_ID
0x01
and
0x02
are output high. The remaining GPIOs with GPI-
O_ID
0x03
,
0x04
,
0x05
and
0x06
are not configured.
Proteus-III reference manual version 1.3
© August 2020
www.we-online.com/wireless-connectivity
101