Samsung KS86C6004 Manual page 125

Table of Contents

Advertisement

KS86C6004/C6008/P6008 MICROCONTROLLER (Preliminary Spec)
9
I/O PORTS
OVERVIEW
The KS86C6004/C6008/P6008 has five I/O ports (0–4) with a total of 32 pins. You can access these ports
directly by writing or reading port data register addresses.
For keyboard applications, ports 0, 1 and 2 are usually configured as keyboard matrix input/output. Port 3 can be
configured as LED drive. Port 4 is used for host communication or for controlling a mouse or other external
device.
Table 9-1. KS86C6004/C6008/P6008 Port Configuration Overview
Port
Bit-programmable I/O port for Schmitt trigger input or open-drain output.
0
Port0 can be individually configured as external interrupt inputs. Pull-up
resistors are assignable by software.
Bit-programmable I/O port for Schmitt trigger input or open-drain output.
1
Pull-up resistors are assignable by software.
Bit-programmable I/O port for Schmitt trigger input or open-drain output.
2
Port2 can be individually configured as external interrupt inputs. Pull-up
resistors are assignable by software.
Bit-programmable I/O port for Schmitt trigger input, open-drain or push-
3
pull output. P3.3 can be used to system clock output (CLO) pin.
Bit-programmable I/O port for Schmitt trigger input or open-drain output
4
or push-pull output. Port4 can be individually configured as external
interrupt inputs. In output mode, pull-up resistors are assignable by
software. But in input mode, pull-up resistors are fixed.
Function Description
I/O PORTS
Programmability
Bit
Bit
Bit
Bit
Bit
9-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ks86c6008Ks86p6008

Table of Contents