4.4 I/O Level Control

The host MCU can assert the RN command to set some GPIO pins as output pins to set their level or input pins to read their level.

The I/O level control on these pins is achieved using the Set Digital Input and Read Port (|I,<hex16>) and Set Digital Output Port (|O,<hex16>,<hex16>) commands. For more details, refer to Query Digital I/O Port (QIO,<hex16>) and Write Digital I/O Port (WIO,<hex16>,<hex16>). The GPIO pins that can control using the RN commands are shown in Table 5-29.