6 INTERRUPT CONTROLLER (ITC)
S1C17704 TECHNICAL MANUAL
EPSON
6-17
0x4306: External Interrupt Level Setup Register 0 (ITC_ELV0)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
External
Interrupt Level
Setup Register 0
(ITC_ELV0)
0x4306
(16 bits)
D15–13
–
reserved
–
–
–
0 when being read.
D12
EITG1
P1 interrupt trigger mode
1 Level
0 Pulse
0
R/W Be sure to set to 1.
D11
–
reserved
–
–
–
0 when being read.
D10–8
EILV1[2:0]
P1 interrupt level
0 to 7
0x0
R/W
D7–5
–
reserved
–
–
–
0 when being read.
D4
EITG0
P0 interrupt trigger mode
1 Level
0 Pulse
0
R/W Be sure to set to 1.
D3
–
reserved
–
–
–
0 when being read.
D2–0
EILV0[2:0]
P0 interrupt level
0 to 7
0x0
R/W
D[15:13] Reserved
D12
EITG1: P1 Port Interrupt Trigger Mode Select Bit
Selects the trigger mode of the P1 port interrupt. Set this bit 1 in the S1C17704.
1 (R/W): Level trigger mode
0 (R/W): Pulse trigger mode (default)
In pulse trigger mode, the ITC samples interrupt signals at the rising edge of the system clock. When a
high pulse is sampled, the ITC sets the interrupt flag (EIFT
x
) to 1 and stops sampling of that interrupt
signal. The ITC resumes the sampling operation for the interrupt signal after the interrupt flag (EIFT
x
)
is reset to 0 in the application program (interrupt handler).
In level trigger mode, the ITC continuously samples interrupt signals at every rising edge of the system
clock. The interrupt flag (EIFT
x
) is set to 1 when a high level is sampled and is reset to 0 when a low
level is sampled. In this mode, writing 1 cannot reset the interrupt flag (EIFT
x
). Therefore, the interrupt
source module must hold the interrupt signal to high until the S1C17 Core accepts the interrupt request
and must reset the interrupt signal after that.
D11 Reserved
D[10:8]
EILV1[2:0]: P1 Port Interrupt Level Bits
Sets the interrupt level (0 to 7) of the P1 port interrupt. (Default: 0)
If the level is set below the IL value of the PSR, the S1C17 Core does not accept the interrupt request.
In the ITC, the interrupt level is used when two or more causes of interrupt occur simultaneously.
If two or more causes of interrupt that have been enabled by the interrupt enable register occur
simultaneously, the cause of interrupt whose Interrupt Level Setup Register contains the highest value
is allowed by the ITC to send an interrupt request to the S1C17 Core. If two or more causes of interrupt
that have the same interrupt level occur, the interrupt with the smallest vector number is processed
first. Other causes of interrupt are kept pending until all interrupts of higher priority are accepted by
the S1C17 Core. If another cause of interrupt of higher priority occurs during outputting an interrupt
request signal, the ITC changes the vector number and interrupt level to those of the new cause of
interrupt. The first interrupt request is left pending.
D[7:5] Reserved
D4
EITG0: P0 Port Interrupt Trigger Mode Select Bit
Selects the trigger mode of the P0 port interrupt. Set this bit 1 in the S1C17704.
1 (R/W): Level trigger mode
0 (R/W): Pulse trigger mode (default)
See the description of EITG1 (D12).
D3 Reserved
D[2:0]
EILV0[2:0]: P0 Port Interrupt Level Bits
Sets the interrupt level (0 to 7) of the P0 port interrupt. (Default: 0)
See the description of EILV1[2:0] (D[10:8]).
Содержание S1C17704
Страница 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Страница 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...