AN332
Rev. 0.8
217
Command 0x81. GPIO_SET
Sets the output level (high or low) for GPO1, 2, and 3. GPO1, 2, and 3 can be configured for output by setting the
GPO1OEN, GPO2OEN, and GPO3OEN bit in the GPIO_CTL command. To avoid excessive current consumption
due to oscillation, GPO pins should not be left in a high impedance state. The CTS bit (and optional interrupt) is set
when it is safe to send the next command. This property may only be set or read when in powerup mode. The
default is all GPO pins set for high impedance.
Available in: All
Command arguments: One
Response bytes: None
Command
Response
Bit
D7
D6
D5
D4
D3
D2
D1
D0
CMD
1
0
0
0
0
0
0
1
ARG1
0
0
0
0
GPO3LEVEL
GPO2LEVEL
GPO1LEVEL
0
ARG
Bit
Name
Function
1
7:4
Reserved
Always write 0.
1
3
GPO3LEVEL
GPO3 Output Level.
0 = Output low (default).
1 = Output high.
1
2
GPO2LEVEL
GPO2 Output Level.
0 = Output low (default).
1 = Output high.
1
1
GPO1LEVEL
GPO1 Output Level.
0 = Output low (default).
1 = Output high.
1
0
Reserved
Always write 0.
Bit
D7
D6
D5
D4
D3
D2
D1
D0
STATUS
CTS
ERR
X
X
X
X
ASQINT
X