6 INITERRUPT CONTROLLER
34
EPSON
S1C17001 TECHNICAL MANUAL
6.3.5 Interrupt Trigger Modes
The ITC includes two trigger modes – pulse trigger mode and level trigger mode – which enable acceptance of in-
terrupt requests setting the EIFT flag as pulse or level signals.
Trigger mode can be selected using the EITG
x
bits within the ITC_ELV
x
register (0x4306 to 0x4308). Setting the
EITG
x
bits to 1 selects the level trigger mode; setting them to 0 (default) selects pulse trigger mode.
Note: All EITG
x
bits should be set to 1 (level trigger mode) for the S1C17001.
Table 6.3.5.1: Trigger mode selector bits
Hardware interrupt
Trigger mode selector bit
Register address
P0 port interrupt
EITG0 (D4/ITC_ELV0 register)
0x4306
P1 port interrupt
EITG1 (D12/ITC_ELV0 register)
0x4306
Stopwatch timer interrupt
EITG2 (D4/ITC_ELV1 register)
0x4308
Clock timer interrupt
EITG3 (D12/ITC_ELV1 register)
0x4308
8-bit OSC1 timer interrupt
EITG4 (D4/ITC_ELV2 register)
0x430a
PWM & capture timer interrupt
EITG7 (D12/ITC_ELV3 register)
0x430c
The module setting the IIFT flag outputs a pulse signal only as the interrupt request to the ITC. No trigger mode
selector bit is provided.
Pulse trigger mode
In pulse trigger mode, the ITC samples the interrupt signal using the system clock rising edge. If a pulse High
period is detected, the ITC sets the interrupt flag (IIFT
x
) to 1 and stops sampling that interrupt signal. The ITC
resumes sampling of the interrupt signal after the application program resets the interrupt flag (IIFT
x
) to 0 (via
interrupt processing routine).
pclk
Interrupt signal from
interrupt source
Interrupt flag
within ITC
Reset when software writes 1 to interrupt flag
Figure 6.3.5.1: Pulse trigger mode
Note: The S1C17001 interrupts listed below are in pulse trigger mode. If an interrupt occurs, reset
the interrupt flag IIFT
x
(to 1) within the interrupt processing routine.
• 8-bit timer interrupt
• 16-bit timer Ch.0 interrupt
• 16-bit timer Ch.1 interrupt
• 16-bit timer Ch.2 interrupt
•
UART
interrupt
•
Remote
controller
interrupt
•
SPI
interrupt
•
I
2
C interrupt
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 ...