AAEON AEC-VS01 User Manual
Page 89
E m b e d d e d C o n t r o l l e r
A E C - V S 0 1
Appendix C Digital I/O C-4
4
GP24_ODA
TA
R/W
VSB3V
GPIO 24 output data.
3
GP23_ODA
TA
R/W
VSB3V
GPIO 23 output data.
2
GP22_ODA
TA
R/W
VSB3V
GPIO 22 output data.
1
GP21_ODA
TA
R/W
VSB3V
GPIO 21 output data.
0
GP20_ODA
TA
R/W
VSB3V
GPIO 20 output data.
GPIO2x Input Status Register-Index 22h
Power-on default [7:0]=xxxx_xxxxb
Bit Name
R/W
PWR
Description
7
GP27_PST
S
RO
VSB3V
Read the GPIO27 data on the pin.
6
GP26_PST
S
RO
VSB3V
Read the GPIO26 data on the pin.
5
GP25_PST
S
RO
VSB3V
Read the GPIO25 data on the pin.
4
GP24_PST
S
RO
VSB3V
Read the GPIO24 data on the pin.
3
GP23_PST
S
RO
VSB3V
Read the GPIO23 data on the pin.
2
GP22_PST
S
RO
VSB3V
Read the GPIO22 data on the pin.
1
GP21_PST
S
RO
VSB3V
Read the GPIO21 data on the pin.
0
GP20_PST
S
RO
VSB3V
Read the GPIO20 data on the pin.
The following is a sample code for 8 input
.MODEL SMALL
.CODE