This write-only command sets
the
output drive of each GPIO pin that is configured as a
GPIO and
enabled as output via GPIO_INT Output Enable. The
data associated with pins not configured as
GPIOs and
output is not impacted. The command
consists
of 16-bit field-. The
bits
0 to 4
are
associated with each GPIO pin. The
one
bit set
the output drive status as:
0 =
drive output low;
1 =
drive output
high.
| SBS Cmd | Name | Access | Protocol | Type | Min | Max | Default | Unit |
|---|
| SE | US | FA |
|---|
| 0x49 | GPIOWrite() | W | W | W | Word | U2 | — | 65535 | 0 | — |
| RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD |
| RSVD | RSVD | RSVD | RL4_PIN_8 | RL3_PIN_7 | RL2_PIN_4 | RL1_PIN_3 | RL0_PIN_32 |
| RSVD (Bits
15–5):
Reserved. Do not use. |
|
| RL4_PIN_8
(Bits
4):
RL4_PIN_8
output drive |
| 1
= |
Drive output high |
| 0
= |
Drive output low |
|
|
| RL3_PIN_7 (Bits
3): RL3_PIN_7 output drive |
| 1 = |
Drive output high |
| 0 = |
Drive output low |
|
|
| RL2_PIN_4 (Bits
2): RL2_PIN_4 output drive |
| 1 = |
Drive output high |
| 0 = |
Drive output low |
|
|
| RL1_PIN_3 (Bits
1): RL1_PIN_3 output drive |
| 1 = |
Drive output high |
| 0 = |
Drive output low |
|
|
| RL0_PIN_32
(Bits 1): RL0_PIN_32 output drive |
| 1 = |
Drive output high |
| 0 = |
Drive output low |