6 INITERRUPT CONTROLLER
S1C17001 TECHNICAL MANUAL
EPSON
41
0x4300: Interrupt Flag Register (ITC_IFLG)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
Interrupt Flag
Register
(ITC_IFLG)
0x4300
(16 bits)
D15
IIFT7
I
2
C interrupt flag
1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1.
D14
IIFT6
SPI interrupt flag
0
R/W
D13
IIFT5
Remote controller interrupt flag
0
R/W
D12
IIFT4
UART interrupt flag
0
R/W
D11
IIFT3
16-bit timer Ch.2 interrupt flag
0
R/W
D10
IIFT2
16-bit timer Ch.1 interrupt flag
0
R/W
D9
IIFT1
16-bit timer Ch.0 interrupt flag
0
R/W
D8
IIFT0
8-bit timer interrupt flag
0
R/W
D7
EIFT7
PWM&capture timer interrupt flag 1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1 in
pulse trigger mode.
Cannot be reset by
software in level trig-
ger mode.
D6
EIFT6
reserved
0
R/W
D5
EIFT5
reserved
0
R/W
D4
EIFT4
8-bit OSC1 timer interrupt flag
0
R/W
D3
EIFT3
Clock timer interrupt flag
0
R/W
D2
EIFT2
Stopwatch timer interrupt flag
0
R/W
D1
EIFT1
P1 port interrupt flag
0
R/W
D0
EIFT0
P0 port interrupt flag
0
R/W
D[15:8]
IIFT[7:0]: Interrupt Flags (for Pulse Trigger)
These are interrupt flags indicating the interrupt factor occurrence status.
1(R):
Interrupt factor present
0(R):
No interrupt factor (default)
1(W):
Reset
flag
0(W):
Disabled
The interrupt flags are reset to 1 if an interrupt factor occurs in the peripheral modules.
An interrupt is generated to the S1C17 core provided the following conditions are met:
1. The corresponding interrupt enable bit is set to 1.
2. No other interrupt having requests higher priority levels have occurred.
3. The PSR IE bit was set to 1 (interrupt permitted).
4. The corresponding interrupt level setting bit has been set to a higher level than the S1C17 core inter-
rupt level (IL).
The interrupt flags are set to 1 when an interrupt factor occurs regardless of the interrupt enable bit or
interrupt level setting bit states.
The interrupt flags must be reset and the PSR must be reset (by setting the IE bit to 1 or with the
reti
command) to accept the next interrupt after interrupt occurrence.
An interrupt factor flag set to 1 is reset by writing 1.
Table 6.7.2: Hardware interrupt factors and interrupt flags
Interrupt flag
Hardware interrupt factor
IIFT0 (D8)
8-bit timer interrupt: Timer underflow
IIFT1 (D9)
16-bit timer Ch.0 interrupt: Timer underflow
IIFT2 (D10)
16-bit timer Ch.1 interrupt: Timer underflow
IIFT3 (D11)
16-bit timer Ch.2 interrupt: Timer underflow
IIFT4 (D12)
UART interrupt: Transmit buffer empty/Receive buffer full/Receive error
IIFT5 (D13)
Remote controller interrupt: Data length counter underflow/Input rise-up/Input drop-
off
IIFT6 (D14)
SPI interrupt: Transmit buffer empty/Receive buffer full
IIFT7 (D15)
I
2
C interrupt: Transmit buffer empty/Receive buffer full
Summary of Contents for S1C17001
Page 1: ...Technical Manual S1C17001 CMOS 16 BIT SINGLE CHIP MICROCONTROLLER ...
Page 33: ...4 POWER SUPPLY VOLTAGE 24 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 63: ...6 INITERRUPT CONTROLLER 54 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 87: ...8 CLOCK GENERATOR CLG 78 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 91: ...9 PRESCALER PSC 82 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 133: ...11 16 BIT TIMER T16 124 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 211: ...16 STOPWATCH TIMER SWT 202 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 219: ...17 WATCHDOG TIMER WDT 210 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 241: ...18 UART 232 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 277: ...20 I2 C 268 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 313: ...25 PACKAGE 304 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...