F81867
GPIO8 Scan Code 7 Control Register ⎯ Index BFh
Bit
7
Name
R/W Reset Default
Description
GP7_CTRL_EN
GP7_ALT_EN
GP7_SHIFT_EN
R/W 5VSB
R/W 5VSB
R/W 5VSB
0
0
0
Set “1” will assert a left “Ctrl” key code first when scan code event occurred.
Set “1” will assert a left “Alt” key code first when scan code event occurred.
Set “1” will assert a left “Shift” key code first when scan code event occurred.
6
5
Set “1” will assert a left pre-code first when scan code 0 event occurred.
When multiple keys are enabled, the sequence is “Ctrl” Æ “Alt” Æ “Shift” Æ
Pre-code Æ Make/Break code.
4
GP7_PRE_EN
R/W 5VSB
0
The delay time for repeating the make code could be user defined. μC read
this register to determine the delay time.
3-2 GP7_DELAY_TIME R/W 5VSB
0
0
The repeat time for repeating the make code could be user defined. μC read
this register to determine the delay time.
0
GP7_REP_TIME
R/W 5VSB
GPIO8 Function Select 1 Register ⎯ Index AEh
Name R/W Reset Default
Bit
Description
These two bits are used for host and μC communication. μC could used
these two bits to decide which function GOPIO83 is.
7-6 GPIO83_FUNC_SEL R/W 5VSB
5-4 GPIO82_FUNC_SEL R/W 5VSB
3-2 GPIO81_FUNC_SEL R/W 5VSB
1-0 GPIO80_FUNC_SEL R/W 5VSB
0
0
0
0
These two bits are used for host and μC communication. μC could used
these two bits to decide which function GOPIO82 is.
These two bits are used for host and μC communication. μC could used
these two bits to decide which function GOPIO81 is.
These two bits are used for host and μC communication. μC could used
these two bits to decide which function GOPIO80 is.
GPIO8 Function Select 2 Register ⎯ Index AFh
Name R/W Reset Default
Bit
Description
These two bits are used for host and μC communication. μC could used
these two bits to decide which function GOPIO87 is.
7-6 GPIO87_FUNC_SEL R/W 5VSB
5-4 GPIO86_FUNC_SEL R/W 5VSB
3-2 GPIO85_FUNC_SEL R/W 5VSB
1-0 GPIO84_FUNC_SEL R/W 5VSB
0
0
0
0
These two bits are used for host and μC communication. μC could used
these two bits to decide which function GOPIO86 is.
These two bits are used for host and μC communication. μC could used
these two bits to decide which function GOPIO85 is.
These two bits are used for host and μC communication. μC could used
these two bits to decide which function GOPIO84 is.
Remark:
GPIO also provides index/data port to access the whole GPIO registers. The index port is base address + 0 and
data port is base address + 1. The index for each register is the same as the one for configuration register. For
example, to write GPIO0 output enable register 0xAA, below is the procedure:
1. Write index port 0xF0.
2. Write data port 0xAA.
174
Dec, 2011
V0.12P