E0C6001 TECHNICAL HARDWARE
I-20
Input Port (K00–K03)
The E0C6001 Series have a 4-bit general-purpose input
port. Each of the input port pins (K00–K03) has an internal
pull-down resistance. The pull-down resistance can be
selected for each bit with the mask option.
Figure 4.3.1 shows the configuration of input port.
Selecting "pull-down resistance enabled" with the mask
option allows input from a push button, key matrix, and so
forth. When "pull-down resistance disabled" is selected, the
port can be used for slide switch input and interfacing with
other LSIs.
4.3
Configuration of
input port
Fig. 4.3.1
Configuration of input port
All four input port bits (K00–K03) provide the interrupt
function. The conditions for issuing an interrupt can be set
by the software for the four bits. Also, whether to mask the
interrupt function can be selected individually for all four
bits by the software. Figure 4.3.2 shows the configuration of
K00–K03.
Interrupt function
Kxx
V
SS
Mask option
Address
V
DD
Interrupt
request
Data bus