English
Language : 

NT6880 Datasheet, PDF (6/13 Pages) List of Unclassifed Manufacturers – Keyboard Controller
NT6880
9. I/O PORTs
The NT6880 has 31 pins dedicated to input and output. These pins are grouped into 6 ports, as follows:
9.1. PORT0: (P00 - P07)
PORT0 is an 8-bit bi-directional CMOS I/O port that is internally pulled High by PMOS. Each pin of PORT0 can be bit
programmed as an input or output pin under the software control. When programmed as output, data is latched to the port
data register and output to the pin. PORT0 pins with ''1'' written to them are pulled high by the internal PMOS pull-ups, and
are used as inputs in that state. These input signals can then be read. The port output is High after reset.
9.2. PORT1: ( P10 - P17 ): Functions are the same as PORT0.
9.3. PORT2: ( P20 - P27) : Functions are the same as PORT0.
9.4. PORT3: ( P30 - P34) : Functions are the same as PORT0.
CLK & DATA
: These two pins have the same structure as I/O ports.
PORT Registers:
Addr.
$00C3
$00C4
$00C5
$00C6
$00C7
$00C8
Register
PORT0
PORT1
PORT2
PORT3
CLK
DATA
Bit7
PD07
PD17
PD27
-
-
-
Bit6
PD06
PD16
PD26
-
-
-
Bit5
PD05
PD15
PD25
-
-
-
Bit4
PD04
PD14
PD24
PD34
-
-
Bit3
PD03
PD13
PD23
PD33
-
-
Bit2
PD02
PD12
PD22
PD32
-
-
Bit1
PD01
PD11
PD21
PD31
-
-
Bit0
PD00
PD10
PD20
PD30
CLK
DATA
R/W
(RW)
(RW)
(RW)
(RW)
(RW)
(RW)
WREN
DB
RST
Latch
L
Q
D SD
V DD
Weak PMOS
IO
RDENB
Figure 9.1. I/O Port Structure
6