7.7.2.1. Example: Read the current GPIO configuration
Read the current configuration:
Start signal
Command
Length
CS
0x02
0x2B
0x00 0x00
0x29
Response:
Start signal
Command | 0x40
Length
Status
Blocks
CS
0x02
0x6B
0x15 0x00
0x00
0x03
0x01
0x02 0x01
0x03
0x02
0x02 0x01
0x02
0x03
0x00
0x02
0x04
0x00
0x02
0x05
0x00
0x02
0x06
0x00
0x7B
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
97