6 inTeRRuPT COnTROlleR
6-6
Seiko epson Corporation
S1C63003/004/008/016 TeChniCal Manual
(Rev. 1.1)
Address
Register name R/W Default
Setting/data
Function
FFF1H D3 0 (
*
3)
R
– (
*
2)
–
Unused
D2
iRFe
R/W
0
1 Occurred (R)
Reset (W)
0 Not occurred (R)
Invalid (W)
Interrupt factor flag (RFC error)
D1
iRFR
R/W
0
Interrupt factor flag (RFC REF completion)
D0
iRFS
R/W
0
Interrupt factor flag (RFC SEN completion)
FFF2H D3 0 (
*
3)
R
– (
*
2)
–
Unused
D2 0 (
*
3)
R
– (
*
2)
–
Unused
D1
iPT0
R/W
0
1 Occurred (R)
Reset (W)
0 Not occurred (R)
Invalid (W)
Interrupt factor flag (PT0 underflow)
D0
iCTC0 (
*
6)
R/W
0
Interrupt factor flag (PT0 compare match)
FFF3H
(
*
6)
D3 0 (
*
3)
R
– (
*
2)
–
Unused
D2 0 (
*
3)
R
– (
*
2)
–
Unused
D1
iPT1
R/W
0
1 Occurred (R)
Reset (W)
0 Not occurred (R)
Invalid (W)
Interrupt factor flag (PT1 underflow)
D0
iCTC1
R/W
0
Interrupt factor flag (PT1 compare match)
FFF4H
(
*
6)
D3 0 (
*
3)
R
– (
*
2)
–
Unused
D2 0 (
*
3)
R
– (
*
2)
–
Unused
D1
iPT2
R/W
0
1 Occurred (R)
Reset (W)
0 Not occurred (R)
Invalid (W)
Interrupt factor flag (PT2 underflow)
D0
iCTC2
R/W
0
Interrupt factor flag (PT2 compare match)
FFF5H
(
*
4)
D3 0 (
*
3)
R
– (
*
2)
–
Unused
D2 0 (
*
3)
R
– (
*
2)
–
Unused
D1
iPT3
R/W
0
1 Occurred (R)
Reset (W)
0 Not occurred (R)
Invalid (W)
Interrupt factor flag (PT3 underflow)
D0
iCTC3
R/W
0
Interrupt factor flag (PT3 compare match)
FFFAH
(
*
6)
D3 0 (
*
3)
R
– (
*
2)
–
Unused
D2 0 (
*
3)
R
– (
*
2)
–
Unused
D1 0 (
*
3)
R
– (
*
2)
–
Unused
D0
iSiF
R/W
0
1 Occurred (R)
Reset (W)
0 Not occurred (R)
Invalid (W)
Interrupt factor flag (Serial I/F)
FFFBH D3
iK03
R/W
0
1 Occurred (R)
Reset (W)
0 Not occurred (R)
Invalid (W)
Interrupt factor flag (KEY03<P03>)
D2
iK02
R/W
0
Interrupt factor flag (KEY02<P02>)
D1
iK01
R/W
0
Interrupt factor flag (KEY01<P01>)
D0
iK00
R/W
0
Interrupt factor flag (KEY00<P00>)
FFFCH
(
*
6)
D3
iK13
R/W
0
1 Occurred (R)
Reset (W)
0 Not occurred (R)
Invalid (W)
Interrupt factor flag (KEY13<P13>)
D2
iK12
R/W
0
Interrupt factor flag (KEY12<P12>)
D1
iK11
R/W
0
Interrupt factor flag (KEY11<P11>)
D0
iK10
R/W
0
Interrupt factor flag (KEY10<P10>)
FFFDH D3
iRun (
*
6)
R/W
0
1 Occurred (R)
Reset (W)
0 Not occurred (R)
Invalid (W)
Interrupt factor flag (SW direct RUN)
D2
ilaP (
*
6)
R/W
0
Interrupt factor flag (SW direct LAP)
D1
iSW1
R/W
0
Interrupt factor flag (Stopwatch 1 Hz)
D0
iSW10
R/W
0
Interrupt factor flag (Stopwatch 10 Hz)
FFFEH D3
iT3 (
*
6)
R/W
0
1 Occurred (R)
Reset (W)
0 Not occurred (R)
Invalid (W)
Interrupt factor flag (Clock timer 16 Hz)
D2
iT2
R/W
0
Interrupt factor flag (Clock timer 32 Hz)
D1
iT1 (
*
6)
R/W
0
Interrupt factor flag (Clock timer 64 Hz)
D0
iT0 (
*
6)
R/W
0
Interrupt factor flag (Clock timer 128 Hz)
FFFFH D3
iT7
R/W
0
1 Occurred (R)
Reset (W)
0 Not occurred (R)
Invalid (W)
Interrupt factor flag (Clock timer 1 Hz)
D2
iT6
R/W
0
Interrupt factor flag (Clock timer 2 Hz)
D1
iT5 (
*
6)
R/W
0
Interrupt factor flag (Clock timer 4 Hz)
D0
iT4
R/W
0
Interrupt factor flag (Clock timer 8 Hz)
*
1 Initial value at initial reset
*
2 Not set in the circuit
*
3 Constantly "0" when being read
*
4 Unused in the S1C63003/004/008
*
5 Unused in the S1C63003/004
*
6 Unused in the S1C63003
ei
***
: interrupt mask registers (FFe1h–FFeFh)
Selects whether interrupts generated by interrupt factors are masked or not.
When "1" is written: Enable
When "0" is written: Mask
Reading: Valid
When the interrupt mask register is set to "1," an interrupt to the CPU will be generated if the corresponding
interrupt flag is set to 1. Setting the interrupt mask register to "0" masks the interrupt factor and no interrupt will
be generated. At initial reset, the interrupt mask registers are set to "0."