APPENDIX A LIST OF I/O REGISTERS
S1C17704 TECHNICAL MANUAL
EPSON
AP-9
0x4300–0x430c
Interrupt Controller
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
LCD interrupt flag
0
R/W
D5
EIFT5
SVD interrupt flag
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
Interrupt
Enable Register
(ITC_EN)
0x4302
(16 bits)
D15
IIEN7
I
2
C interrupt enable
1 Enable
0 Disable
0
R/W
D14
IIEN6
SPI interrupt enable
0
R/W
D13
IIEN5
Remote controller interrupt enable
0
R/W
D12
IIEN4
UART interrupt enable
0
R/W
D11
IIEN3
16-bit timer Ch.2 interrupt enable
0
R/W
D10
IIEN2
16-bit timer Ch.1 interrupt enable
0
R/W
D9
IIEN1
16-bit timer Ch.0 interrupt enable
0
R/W
D8
IIEN0
8-bit timer interrupt enable
0
R/W
D7
EIEN7
PWM&capture timer interrupt enable
0
R/W
D6
EIEN6
LCD interrupt enable
0
R/W
D5
EIEN5
SVD interrupt enable
0
R/W
D4
EIEN4
8-bit OSC1 timer interrupt enable
0
R/W
D3
EIEN3
Clock timer interrupt enable
0
R/W
D2
EIEN2
Stopwatch timer interrupt enable
0
R/W
D1
EIEN1
P1 port interrupt enable
0
R/W
D0
EIEN0
P0 port interrupt enable
0
R/W
ITC Control
Register
(ITC_CTL)
0x4304
(16 bits)
D15–1
–
reserved
–
–
–
0 when being read.
D0
ITEN
ITC enable
1 Enable
0 Disable
0
R/W
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
External
Interrupt Level
Setup Register 1
(ITC_ELV1)
0x4308
(16 bits)
D15–13
–
reserved
–
–
–
0 when being read.
D12
EITG3
CT interrupt trigger mode
1 Level
0 Pulse
0
R/W Be sure to set to 1.
D11
–
reserved
–
–
–
0 when being read.
D10–8
EILV3[2:0]
CT interrupt level
0 to 7
0x0
R/W
D7–5
–
reserved
–
–
–
0 when being read.
D4
EITG2
SWT interrupt trigger mode
1 Level
0 Pulse
0
R/W Be sure to set to 1.
D3
–
reserved
–
–
–
0 when being read.
D2–0
EILV2[2:0]
SWT interrupt level
0 to 7
0x0
R/W
External
Interrupt Level
Setup Register 2
(ITC_ELV2)
0x430a
(16 bits)
D15–13
–
reserved
–
–
–
0 when being read.
D12
EITG5
SVD interrupt trigger mode
1 Level
0 Pulse
0
R/W Be sure to set to 1.
D11
–
reserved
–
–
–
0 when being read.
D10–8
EILV5[2:0]
SVD interrupt level
0 to 7
0x0
R/W
D7–5
–
reserved
–
–
–
0 when being read.
D4
EITG4
T8OSC1 interrupt trigger mode
1 Level
0 Pulse
0
R/W Be sure to set to 1.
D3
–
reserved
–
–
–
0 when being read.
D2–0
EILV4[2:0]
T8OSC1 interrupt level
0 to 7
0x0
R/W
External
Interrupt Level
Setup Register 3
(ITC_ELV3)
0x430c
(16 bits)
D15–13
–
reserved
–
–
–
0 when being read.
D12
EITG7
T16E interrupt trigger mode
1 Level
0 Pulse
0
R/W Be sure to set to 1.
D11
–
reserved
–
–
–
0 when being read.
D10–8
EILV7[2:0]
T16E interrupt level
0 to 7
0x0
R/W
D7–5
–
reserved
–
–
–
0 when being read.
D4
EITG6
LCD interrupt trigger mode
1 Level
0 Pulse
0
R/W Be sure to set to 1.
D3
–
reserved
–
–
–
0 when being read.
D2–0
EILV6[2:0]
LCD interrupt level
0 to 7
0x0
R/W
Summary of Contents for S1C17704
Page 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Page 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...