I-32
EPSON
S1C6S3N2 TECHNICAL HARDWARE
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports)
All five bits of the input ports (K00–K03, K10) provide the
interrupt function. The conditions for issuing an interrupt
can be set by the software. Further, whether to mask the
interrupt function can be selected individually for all five
bits by the software.
Figure 4.4.2 shows the configuration of K00–K03 and K10.
The input interrupt timing for K00–K03 and K10 depends
on the value set for the differential registers (DFK00–DFK03
and DFK10). Interrupt can be selected to occur at the rising
or falling edge of the input.
The interrupt mask registers (EIK00–EIK03, EIK10) enables
the interrupt mask to be selected individually for K00–K03
and K10. However, whereas the interrupt function is ena-
bled inside K00–K03, the interrupt occurs when the con-
tents change from matching those of the differential register
to non-matching contents. Interrupt for K10 can be gener-
ated by setting the same conditions individually.
When the interrupt is generated, the interrupt factor flag
(IK0 and IK1) is set to "1".
Figure 4.4.3 shows an example of an interrupt for K00–K03.
Differential registers
and interrupt func-
tion
Data bus
Address
Address
Differential
register (DFK)
K
Address
Mask option
(K00–K03, K10)
Noise
rejector
One for each terminal series
Interrupt
request
Address
Interrupt mask
register (EIK)
Interrupt factor
flag (IK)
Fig. 4.4.2
Input interrupt circuit
configuration
(K00–K03, K10)
Содержание S1C6S3N2
Страница 4: ......
Страница 6: ......
Страница 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Страница 8: ......
Страница 141: ...Software Software S1C6S3N2 II Technical Software ...
Страница 142: ......
Страница 146: ......