3 MEMORY MAP, BUS CONTROL
S1C17704 TECHNICAL MANUAL
EPSON
3-9
Table 3.5.3.2 I/O Map (Internal Peripheral Area 2)
Peripheral
Address
Register name
Function
Clock timer
(8-bit device)
0x5000
CT_CTL
Clock Timer Control Register
Resets and starts/stops the timer.
0x5001
CT_CNT
Clock Timer Counter Register
Counter data
0x5002
CT_IMSK
Clock Timer Interrupt Mask Register
Enables/disables interrupt.
0x5003
CT_IFLG
Clock Timer Interrupt Flag Register
Indicates/resets interrupt occurrence status.
0x5004–0x501f –
–
Reserved
Stopwatch
timer
(8-bit device)
0x5020
SWT_CTL
Stopwatch Timer Control Register
Resets and starts/stops the timer.
0x5021
SWT_BCNT
Stopwatch Timer BCD Counter Register
BCD counter data
0x5022
SWT_IMSK
Stopwatch Timer Interrupt Mask Register
Enables/disables interrupt.
0x5023
SWT_IFLG
Stopwatch Timer Interrupt Flag Register
Indicates/resets interrupt occurrence status.
0x5024–0x503f –
–
Reserved
Watchdog timer
(8-bit device)
0x5040
WDT_CTL
Watchdog Timer Control Register
Resets and starts/stops the timer.
0x5041
WDT_ST
Watchdog Timer Status Register
Sets the timer mode and indicates NMI status.
0x5042–0x505f –
–
Reserved
Oscillator
(8-bit device)
0x5060
OSC_SRC
Clock Source Select Register
Selects a clock source.
0x5061
OSC_CTL
Oscillation Control Register
Controls oscillation.
0x5062
OSC_NFEN
Noise Filter Enable Register
Enables/disables noise filters.
0x5063
OSC_LCLK
LCD Clock Setup Register
Sets up the LCD clock.
0x5064
OSC_FOUT
FOUT Control Register
Controls clock output.
0x5065
OSC_T8OSC1 T8OSC1 Clock Control Register
Sets up the 8-bit OSC1 timer clock.
0x5066–0x507f –
–
Reserved
Clock generator
(8-bit device)
0x5080
CLG_PCLK
PCLK Control Register
Controls the PCLK output.
0x5081
CLG_CCLK
CCLK Control Register
Configures the CCLK division ratio.
0x5082–0x509f –
–
Reserved
LCD driver
(8-bit device)
0x50a0
LCD_DCTL
LCD Display Control Register
Controls the LCD display.
0x50a1
LCD_CADJ
LCD Contrast Adjust Register
Controls the contrast.
0x50a2
LCD_CCTL
LCD Clock Control Register
Controls the LCD clock duty.
0x50a3
LCD_VREG
LCD Voltage Regulator Control Register
Controls the LCD drive voltage regulator.
0x50a4
LCD_PWR
LCD Power Voltage Booster Control Register
Controls the LCD voltage booster.
0x50a5
LCD_IMSK
LCD Interrupt Mask Register
Enables/disables interrupt.
0x50a6
LCD_IFLG
LCD Interrupt Flag Register
Indicates/resets interrupt occurrence status.
0x50a7–0x50bf –
–
Reserved
8-bit OSC1
timer
(8-bit device)
0x50c0
T8OSC1_CTL
8-bit OSC1 Timer Control Register
Sets the timer mode and starts/stops the timer.
0x50c1
T8OSC1_CNT 8-bit OSC1 Timer Counter Data Register
Counter data
0x50c2
T8OSC1_CMP 8-bit OSC1 Timer Compare Data Register
Sets compare data.
0x50c3
T8OSC1_IMSK 8-bit OSC1 Timer Interrupt Mask Register
Enables/disables interrupt.
0x50c4
T8OSC1_IFLG 8-bit OSC1 Timer Interrupt Flag Register
Indicates/resets interrupt occurrence status.
0x50c5–0x50df –
–
Reserved
SVD circuit
(8-bit device)
0x5100
SVD_EN
SVD Enable Register
Enables/disables the SVD operation.
0x5101
SVD_CMP
SVD Compare Voltage Register
Sets compare voltage.
0x5102
SVD_RSLT
SVD Detection Result Register
Voltage detection results
0x5103
SVD_IMSK
SVD Interrupt Mask Register
Enables/disables interrupt.
0x5104
SVD_IFLG
SVD Interrupt Flag Register
Indicates/resets interrupt occurrence status.
0x5105–0x511f –
–
Reserved
Power supply
circuit
(8-bit device)
0x5120
VD1_CTL
V
D1
Control Register
Controls the V
D1
voltage and heavy load
protection mode.
0x5121–0x513f –
–
Reserved
P port &
port MUX
(8-bit device)
0x5200
P0_IN
P0 Port Input Data Register
P0 port input data
0x5201
P0_OUT
P0 Port Output Data Register
P0 port output data
0x5202
P0_IO
P0 Port I/O Direction Control Register
Selects the P0 port I/O direction.
0x5203
P0_PU
P0 Port Pull-up Control Register
Controls the P0 port pull-up resistor.
0x5204
P0_SM
P0 Port Schmitt Trigger Control Register
Controls the P0 port Schmitt trigger input.
0x5205
P0_IMSK
P0 Port Interrupt Mask Register
Enables/disables the P0 port interrupt.
0x5206
P0_EDGE
P0 Port Interrupt Edge Select Register
Selects the signal edge for generating P0
port interrupts.
0x5207
P0_IFLG
P0 Port Interrupt Flag Register
Indicates/resets the P0 port interrupt occur-
rence status.
0x5208
P0_CHAT
P0 Port Chattering Filter Control Register
Controls the P0 port chattering filter.
0x5209
P0_KRST
P0 Port Key-Entry Reset Configuration Register Configures the P0 port key-entry reset function.
0x520a–0x520f –
–
Reserved
0x5210
P1_IN
P1 Port Input Data Register
P1 port input data
0x5211
P1_OUT
P1 Port Output Data Register
P1 port output data
0x5212
P1_IO
P1 Port I/O Direction Control Register
Selects the P1 port I/O direction.
0x5213
P1_PU
P1 Port Pull-up Control Register
Controls the P1 port pull-up resistor.
0x5214
P1_SM
P1 Port Schmitt Trigger Control Register
Controls the P1 port Schmitt trigger input.
0x5215
P1_IMSK
P1 Port Interrupt Mask Register
Enables/disables the P1 port interrupt.
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 ...