![Samsung KS86C6004 Скачать руководство пользователя страница 127](http://html.mh-extra.com/html/samsung/ks86c6004/ks86c6004_manual_349396127.webp)
KS86C6004/C6008/P6008 MICROCONTROLLER (Preliminary Spec)
I/O PORTS
9-3
PORT 0 AND PORT 1
Ports 0 bit-programmable, general-purpose, I/O ports. You can select Schmitt trigger input mode, N-CH open
drain output mode.
You can access ports 0 and 1 directly by writing or reading the corresponding port data registers — P0 (E0H) and
P1 (E1H). A reset clears the port control registers P0CONH, P0CONL, P1CONH and P1CONL to '00H',
configuring all port 0 and port 1 pins as Schmitt trigger inputs.
In typical keyboard controller applications, the sixteen port 0 and port 1 pins can be used to check pressed key
from keyboard matrix by generating keystrobe output signals.
7,5,3,1
0
0
1
1
6,4,2,0
0
1
0
1
Port Mode Selection
Schmitt trigger input, rising edge external interrupt mode
Schmitt trigger input, falling edge external interrupt mode with pull-up
N-CH open drain output mode
N-CH open drain output mode with pull-up
MSB
LSB
.7
.6
.5
.4
.3
.2
.1
.0
PORT 0 CONTROL REGISTERS
P0CONH, E6H, R/W, P0CONL, E7H, R/W
P0.7/INT2
P0.6/INT2
P0.5/INT2
P0.4/INT2
P0.3/INT2
P0.2/INT2
P0.1/INT2
P0.0/INT2
P0CONH
P0CONL
Figure 9-2. Port 0 Control Registers (P0CONH, P0CONL)
Содержание KS86C6004
Страница 19: ...ADDRESS SPACES KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec 2 8 NOTES ...
Страница 61: ...CONTROL REGISTERS KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec 4 30 NOTES ...
Страница 120: ...CLOCK CIRCUIT KS86C6004 C6008 P6008 MICROCONTROLLERS Preliminary Spec 7 4 NOTES ...
Страница 134: ...I O PORTS KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec 9 10 NOTES ...
Страница 143: ...KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec BASIC TIMER and TIMER 0 10 9 NOTES ...
Страница 162: ...KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec ELECTRICAL DATA 12 9 ...
Страница 164: ...KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec ELECTRICAL DATA 12 11 NOTES ...
Страница 172: ...KS86P6008 OTP KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec 14 6 NOTES ...