User Manual
SubCompact Board GENE-U15B
Appendix D DIO D-4
Bit Name R/W PWR Description
7 GP27_PSTS RO VSB3V Read the GPIO27 data on the pin.
6 GP26_PSTS RO VSB3V Read the GPIO26 data on the pin.
5 GP25_PSTS RO VSB3V Read the GPIO25 data on the pin.
4 GP24_PSTS RO VSB3V Read the GPIO24 data on the pin.
3 GP23_PSTS RO VSB3V Read the GPIO23 data on the pin.
2 GP22_PSTS RO VSB3V Read the GPIO22 data on the pin.
1 GP21_PSTS RO VSB3V Read the GPIO21 data on the pin.
0 GP20_PSTS RO VSB3V Read the GPIO20 data on the pin.
The following is a sample code for 8 input
.MODEL SMALL
.CODE
begin:
mov cl,01h
mov al,80h
call CT_I2CWriteByte
call Delay5ms
mov al,00h
mov cl,20h
call CT_I2CWriteByte
mov cl,22h
call CT_I2CReadByte










