SLUAAL1 June 2022 UCD90120A , UCD90124A , UCD90160 , UCD90160A , UCD90320 , UCD90320U , UCD9090 , UCD9090A
This section demonstrates how to configure a GPIO pin (FPWM8_GPIO12) to output HIGH or LOW signal as shown in Figure 4-2.
The Pid ID of the FPWM8_GPIO12 is 7 from Table 3-1 and Table 3-2
Application need send out the following commands:
Write GPIO_SELECT command to choose the target GPIO. Payload 0x07 is to select FPWM8_GPIO12 pin
Write GPIO_CONFIG command to output HIGH signal. Payload 0x7 is to enable the Pin and output HIGH
Write GPIO_CONFIG command to output LOW signal. Payload 0x3 is to enable the Pin and output LOW