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 5.5.3 Set Digital Input and Read Port (|I,<hex16>) and 5.5.4 Set Digital Output Port (|O,<hex16>,<hex16>). The GPIO pins that can control using the RN commands are shown in Table 5-29.