Detailed hardware description
Issue G 117
Registers V2Ix board
Data direction register
IO address Bit Description
7
Output type select
1 = Open Drain
0 = Push Pull
6:4 Reserved
3:2
00 = GPIO
Others = reserved
1
Polarity
1 = Invert
0 = No invert
D0: Base address + 23h
D1: Base address + 24h
D2: Base address + 25h
D3: Base address + 26h
D4: Base address + 27h
D5: Base address + 29h
D6: Base address + 2Ah
D7: Base address + 2Bh
GPIO1: Base address + 34h
GPIO2: Base address + 37h
ENABLE: Base address + 54h
IOW: Base address + 55h
RS: Base address + 56h
0
In/out
In = 1
Out = 0
GPIO0/GPIO1 are only available as open drain outputs when in output mode.
LCD data register
IO address Bit Description
7 D7 Data bit
6 D6 Data bit
5 D5 Data bit
4 D4 Data bit
3 D3 Data bit
2 D2 Data bit
1 D1 Data bit
Base address + 4Bh
0 D0 Data bit