User manual

37 SOM-5786 User Manual
Appendix B Programming GPIO
4. GPIOIx Output Control Register - Index 10h.
5. GPIO2x Output Control Register - Index 20h.
Table B.4: Index 10h
Bit Name P/W PWR Description
7GP17JX
CTRL
RW VSB3V GPIO 17 output control. Set to 1 for output
function. Set to 0 for input function (default).
6GP16_O
CTRL
RW VSB3V GPIO 16 output control. Set to 1 for output
function. Set to 0 for input function (default).
2GP12JD
CTRL
RW VSB3V GPIO 12 output control. If this pin serves as
IRQ/SMI#. this bit has no effect. Set to 1 for
output function. Set to 0 for input function
(default).
1 GP11_O
CTRL
RW VSB3V GPIO 11 output control. Set to 1 for output
function. Set to 0 for input function
(default).mode can use REG 0x09 (bit5, 4) to
select LED frequency.
Table B.5: Index 20h
Bit Name P/W PWR Description
7 GP27_O
CTRL
RW VSB3V GPIO 27 output control. Set to 1 for output
function. Set to 0 for input function (default).
6 GP26_O
CTRL
RW VSB3V GPIO 26 output control. Set to 1 for output
function. Set to 0 for input function (default).
5 GP25_O
CTRL
RW VSB3V GPIO 25 output control. Set to 1 for output
function. Set to 0 for input function (default).
4 GP24_O
CTRL
RW VSB3V GPIO 24 output control. Set to 1 for output
function. Set to 0 for input function (default).
3 GP23_O
CTRL
RW VSB3V GPIO 23 output control. Set to 1 for output
function. Set to 0 for input function (default).
2 GP22_O
CTRL
RW VSB3V GPIO 22 output control. Set to 1 for output
function. Set to 0 for input function (default).
1 GP21_O
CTRL
RW VSB3V GPIO 21 output control. Set to 1 for output
function. Set to 0 for input function (default).
0 GP20_O
CTRL
RW VSB3V GPIO 20 output control. Set to 1 for output
function. Set to 0 for input function (default).