II-70
EPSON
S1C6S3N2 TECHNICAL SOFTWARE
CHAPTER 5: PERIPHERAL CIRCUITS (Input Ports)
DFK00–DFK03, DFK10
: Differential registers
(074H, 077H.D1)
Interrupt conditions can be set with these registers.
When read-out is "1":
Falling edge
When read-out is "0":
Rising edge
Read-out:
Available
In the K00–K03 pin group, the interrupt is enabled inside
K00–K03, but the interrupt factor flag IK0 is set to "1" when
the values of the input port data and the differential register
changes from matching to non-matching.
Even though the values of the input port data and the differential
register change from non-matching to matching, the interrupt factor
flag IK0 will not be set to "1".
When the interrupt is enabled for K10, the interrupt factor
flag IK1 is set to "1" at the falling edge when the differential
register is "1" and at the rising edge when "0".
IK0, IK1
: Interrupt factor flags (07AH.D2 and D3)
These flags indicate the occurrence of input interrupt.
When "1" is read out:
Interrupt has occurred
When "0" is read out:
Interrupt has not occurred
Writing:
Invalid
These flags are reset when the software reads them.
When "noise rejector circuit enable" is selected with the mask
option, a maximum delay of 1 ms occurs from the time the interrupt
conditions are established until the interrupt factor flag (IK) is set to
"1" (until the interrupt is actually generated).
Hence, pay attention to the timing when reading out (resetting) the
interrupt factor flag.
Note
Note
Содержание S1C6S3N2
Страница 4: ......
Страница 6: ......
Страница 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Страница 8: ......
Страница 141: ...Software Software S1C6S3N2 II Technical Software ...
Страница 142: ......
Страница 146: ......