APPENDIX A LIST OF I/O REGISTERS
S1C17704 TECHNICAL MANUAL
EPSON
AP-1
Appendix A List of I/O Registers
Periperal
Address
Register name
Function
Prescaler
(8-bit device)
0x4020
PSC_CTL
Prescaler Control Register
Starts/stops the prescaler.
0x4021–0x403f –
–
Reserved
UART
(with IrDA)
(8-bit device)
0x4100
UART_ST
UART Status Register
Indicates transfer, buffer and error statuses.
0x4101
UART_TXD
UART Transmit Data Register
Transmit data
0x4102
UART_RXD
UART Receive Data Register
Receive data
0x4103
UART_MOD
UART Mode Register
Sets transfer data format.
0x4104
UART_CTL
UART Control Register
Controls data transfer.
0x4105
UART_EXP
UART Expansion Register
Sets IrDA mode.
0x4106–0x411f –
–
Reserved
8-bit timer
(with fine mode)
(16-bit device)
0x4200
T8F_CLK
8-bit Timer Input Clock Select Register
Selects a prescaler output clock.
0x4202
T8F_TR
8-bit Timer Reload Data Register
Sets reload data.
0x4204
T8F_TC
8-bit Timer Counter Data Register
Counter data
0x4206
T8F_CTL
8-bit Timer Control Register
Sets the timer mode and starts/stops the timer.
0x4208–0x421f –
–
Reserved
16-bit timer
Ch. 0
(16-bit device)
0x4220
T16_CLK0
16-bit Timer Ch.0 Input Clock Select Register
Selects a prescaler output clock.
0x4222
T16_TR0
16-bit Timer Ch.0 Reload Data Register
Sets reload data.
0x4224
T16_TC0
16-bit Timer Ch.0 Counter Data Register
Counter data
0x4226
T16_CTL0
16-bit Timer Ch.0 Control Register
Sets the timer mode and starts/stops the timer.
0x4228–0x423f –
–
Reserved
16-bit timer
Ch. 1
(16-bit device)
0x4240
T16_CLK1
16-bit Timer Ch.1 Input Clock Select Register
Selects a prescaler output clock.
0x4242
T16_TR1
16-bit Timer Ch.1 Reload Data Register
Sets reload data.
0x4244
T16_TC1
16-bit Timer Ch.1 Counter Data Register
Counter data
0x4246
T16_CTL1
16-bit Timer Ch.1 Control Register
Sets the timer mode and starts/stops the timer.
0x4248–0x425f –
–
Reserved
16-bit timer
Ch. 2
(16-bit device)
0x4260
T16_CLK2
16-bit Timer Ch.2 Input Clock Select Register
Selects a prescaler output clock.
0x4262
T16_TR2
16-bit Timer Ch.2 Reload Data Register
Sets reload data.
0x4264
T16_TC2
16-bit Timer Ch.2 Counter Data Register
Counter data
0x4266
T16_CTL2
16-bit Timer Ch.2 Control Register
Sets the timer mode and starts/stops the timer.
0x4268–0x427f –
–
Reserved
Interrupt
controller
(16-bit device)
0x4300
ITC_IFLG
Interrupt Flag Register
Indicates/resets interrupt occurrence status.
0x4302
ITC_EN
Interrupt Enable Register
Enables/disables each maskable interrupt.
0x4304
ITC_CTL
ITC Control Register
Enables/disables the ITC.
0x4306
ITC_ELV0
External Interrupt Level Setup Register 0
Sets the P0 and P1 interrupt levels and
trigger modes.
0x4308
ITC_ELV1
External Interrupt Level Setup Register 1
Sets the stopwatch timer and clock timer
interrupt levels and trigger modes.
0x430a
ITC_ELV2
External Interrupt Level Setup Register 2
Sets the 8-bit OSC1 timer and SVD interrupt
levels and trigger modes.
0x430c
ITC_ELV3
External Interrupt Level Setup Register 3
Sets the LCD and PWM & capture timer
interrupt levels and trigger modes.
0x430e
ITC_ILV0
Internal Interrupt Level Setup Register 0
Sets the 8-bit timer and 16-bit timer Ch. 0
interrupt levels.
0x4310
ITC_ILV1
Internal Interrupt Level Setup Register 1
Sets the 16-bit timer Ch. 1 and 16-bit timer
Ch. 2 interrupt levels.
0x4312
ITC_ILV2
Internal Interrupt Level Setup Register 2
Sets the UART and remote controller inter-
rupt levels.
0x4314
ITC_ILV3
Internal Interrupt Level Setup Register 3
Sets the SPI and I
2
C interrupt levels.
0x4316–0x431f –
–
Reserved
SPI
(16-bit device)
0x4320
SPI_ST
SPI Status Register
Indicates transfer and buffer statuses.
0x4322
SPI_TXD
SPI Transmit Data Register
Transmit data
0x4324
SPI_RXD
SPI Receive Data Register
Receive data
0x4326
SPI_CTL
SPI Control Register
Sets the SPI mode and enables data transfer.
0x4328–0x433f –
–
Reserved
I
2
C
(16-bit device)
0x4340
I2C_EN
I
2
C Enable Register
Enables the I
2
C module.
0x4342
I2C_CTL
I
2
C Control Register
Controls the I
2
C operation and indicates
transfer status.
0x4344
I2C_DAT
I
2
C Data Register
Transmit/receive data
0x4346
I2C_ICTL
I
2
C Interrupt Control Register
Controls the I
2
C interrupt.
0x4348–0x435f –
–
Reserved
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 ...