APPENDIX A LIST OF I/O REGISTERS
AP-18
EPSON
S1C17704 TECHNICAL MANUAL
0x50a0–0x50a6
LCD Driver
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
LCD Display
Control Register
(LCD_DCTL)
0x50a0
(8 bits)
D7
SEGREV
Segment output assignment control 1 Normal
0 Reverse
1
R/W
D6
COMREV
Common output assignment control 1 Normal
0 Reverse
1
R/W
D5
DSPAR
Display memory area control
1 Area 1
0 Area 0
0
R/W
D4
DSPREV
Reverse display control
1 Normal
0 Reverse
1
R/W
D3–2
–
reserved
–
–
–
0 when being read.
D1–0
DSPC[1:0]
LCD display control
DSPC[1:0]
Display
0x0
R/W
0x3
0x2
0x1
0x0
All off
All on
Normal display
Display off
LCD Contrast
Adjust Register
(LCD_CADJ)
0x50a1
(8 bits)
D7–4
–
reserved
–
–
–
0 when being read.
D3–0
LC[3:0]
LCD contrast adjustment
LC[3:0]
Display
0x0
R/W
0xf
:
0x0
Dark
:
Light
LCD Clock
Control Register
(LCD_CCTL)
0x50a2
(8 bits)
D7–2
–
reserved
–
–
–
0 when being read.
D1–0
LDUTY[1:0]
LCD duty select
LDUTY[1:0]
Duty
0x2
R/W
0x3
0x2
0x1
0x0
reserved
1/32
1/16
reserved
LCD Voltage
Regulator
Control Register
(LCD_VREG)
0x50a3
(8 bits)
D7–5
–
reserved
–
–
–
0 when being read.
D4
LHVLD
LCD heavy load protection mode
1 On
0 Off
0
R/W
D3–0
–
reserved
–
–
–
0 when being read.
LCD Power
Voltage Booster
Control Register
(LCD_PWR)
0x50a4
(8 bits)
D7–2
–
reserved
–
–
–
0 when being read.
D1
VDSEL
Regulator power source select
1 V
D2
0 V
DD
0
R/W
D0
PBON
Power voltage booster control
1 On
0 Off
0
R/W
LCD Interrupt
Mask Register
(LCD_IMSK)
0x50a5
(8 bits)
D7–1
–
reserved
–
–
–
0 when being read.
D0
FRMIE
Frame signal interrupt enable
1 Enable
0 Disable
0
R/W
LCD Interrupt
Flag Register
(LCD_IFLG)
0x50a6
(8 bits)
D7–1
–
reserved
–
–
–
0 when being read.
D0
FRMIF
Frame signal interrupt flag
1 Cccurred
0 Not occurred
0
R/W Reset by writing 1.
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 ...