E0C6001 TECHNICAL HARDWARE
Configuration of
input port
Fig. 4.3.1
Configuration of input port
Interrupt function
I-20
4.3
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.
Kxx
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.
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.
V
DD
Interrupt
request
Address
V
SS
Mask option