APPENDIX A LIST OF I/O REGISTERS
S1C17704 TECHNICAL MANUAL
EPSON
AP-3
Periperal
Address
Register name
Function
P port &
port MUX
(8-bit device)
0x5217
P1_IFLG
P1 Port Interrupt Flag Register
Indicates/resets the P1 port interrupt occur-
rence status.
0x5218–0x521f –
–
Reserved
0x5220
P2_IN
P2 Port Input Data Register
P2 port input data
0x5221
P2_OUT
P2 Port Output Data Register
P2 port output data
0x5222
P2_IO
P2 Port I/O Direction Control Register
Selects the P2 port I/O direction.
0x5223
P2_PU
P2 Port Pull-up Control Register
Controls the P2 port pull-up resistor.
0x5224
P2_SM
P2 Port Schmitt Trigger Control Register
Controls the P2 port Schmitt trigger input.
0x5225–0x522f –
–
Reserved
0x5230
P3_IN
P3 Port Input Data Register
P3 port input data
0x5231
P3_OUT
P3 Port Output Data Register
P3 port output data
0x5232
P3_IO
P3 Port I/O Direction Control Register
Selects the P3 port I/O direction.
0x5233
P3_PU
P3 Port Pull-up Control Register
Controls the P3 port pull-up resistor.
0x5234
P3_SM
P3 Port Schmitt Trigger Control Register
Controls the P3 port Schmitt trigger input.
0x5235–0x527f –
–
Reserved
0x52a0
P0_PMUX
P0 Port Function Select Register
Selects the P0 port function.
0x52a1
P1_PMUX
P1 Port Function Select Register
Selects the P1 port function.
0x52a2
P2_PMUX
P2 Port Function Select Register
Selects the P2 port function.
0x52a3
P3_PMUX
P3 Port Function Select Register
Selects the P3 port function.
0x52a4–0x52bf –
–
Reserved
PWM &
capture timer
(16-bit device)
0x5300
T16E_CA
PWM Timer Compare Data A Register
Sets compare data A.
0x5302
T16E_CB
PWM Timer Compare Data B Register
Sets compare data B.
0x5304
T16E_TC
PWM Timer Counter Data Register
Counter data
0x5306
T16E_CTL
PWM Timer Control Register
Sets the timer mode and starts/stops the timer.
0x5308
T16E_CLK
PWM Timer Input Clock Select Register
Selects a prescaler output clock.
0x530a
T16E_IMSK
PWM Timer Interrupt Mask Register
Enables/disables interrupt.
0x530c
T16E_IFLG
PWM Timer Interrupt Flag Register
Indicates/resets interrupt occurrence status.
0x530e–0x531f –
–
Reserved
MISC register
(8-bit device)
0x5320
MISC_FL
FLASHC Control Register
Sets FLASHC access condition.
0x5321
MISC_SR
SRAMC Control Register
Sets the SRAMC access condition.
0x5322
MISC_OSC1
OSC1 Peripheral Control Register
Selects the OSC1 peripheral operation in
debug mode.
0x5323–0x533f –
–
Reserved
Remote
controller
(8-bit device)
0x5340
REMC_CFG
REMC Configuration Register
Selects/enables transmission/reception
0x5341
REMC_PSC
REMC Prescaler Clock Select Register
Selects a prescaler output clock.
0x5342
REMC_CARH
REMC H Carrier Length Setup Register
Sets up the H period of the carrier.
0x5343
REMC_CARL
REMC L Carrier Length Setup Register
Sets up the L period of the carrier.
0x5344
REMC_ST
REMC Status Register
Transmit/receive bit
0x5345
REMC_LCNT
REMC Length Counter Register
Sets the transmit/receive data length.
0x5346
REMC_IMSK
REMC Interrupt Mask Register
Enables/disables interrupt.
0x5347
REMC_IFLG
REMC Interrupt Flag Register
Indicates/resets interrupt occurrence status.
0x5348–0x535f –
–
Reserved
S1C17 Core
I/O
0xffff80
TTBR
Vector Table Base Register
Indicates the vector table base address.
0xffff84
IDIR
Processor ID Register
Indicates the processor ID.
0xffff90
DBRAM
Debug RAM Base Register
Indicates the debug RAM base address.
Note
: Do not access the “Reserved” address in the table above and unused areas in the peripheral area
that are not described in the table from the application program.
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 ...