22 LCD DRIVER (LCD)
22-8
EPSON
S1C17704 TECHNICAL MANUAL
Display area 0 (DSPAR = 0)
Display area 1 (DSPAR = 1)
Unused area
(general-purpose
memory)
Address
(upper 16 bits)
0x800
∗∗
0x801
∗∗
0x802
∗∗
0x803
∗∗
0x804
∗∗
0x805
∗∗
COMREV
= 1
COM0
COM1
COM2
COM3
COM4
COM5
COM6
COM7
COM8
COM9
COM10
COM11
COM12
COM13
COM14
COM15
COM0
COM1
COM2
COM3
COM4
COM5
COM6
COM7
COM8
COM9
COM10
COM11
COM12
COM13
COM14
COM15
COMREV
= 0
COM15
COM14
COM13
COM12
COM11
COM10
COM9
COM8
COM7
COM6
COM5
COM4
COM3
COM2
COM1
COM0
COM15
COM14
COM13
COM12
COM11
COM10
COM9
COM8
COM7
COM6
COM5
COM4
COM3
COM2
COM1
COM0
Bit
D0
D1
D2
D3
D4
D5
D6
D7
D0
D1
D2
D3
D4
D5
D6
D7
D0
D1
D2
D3
D4
D5
D6
D7
D0
D1
D2
D3
D4
D5
D6
D7
D0
D1
D2
D3
D4
D5
D6
D7
D0
D1
D2
D3
D4
D5
D6
D7
Address (lower 8 bits)
0x00
···
0x0f
0x10
···
0x1f
0x20
···
0x2f
0x30
···
0x3f
0x40
···
0x47
0x48
···
0x5f
0x60
···
0xff
SEG0
SEG71
···
···
SEG15
SEG56
SEG16
SEG55
···
···
SEG31
SEG40
SEG32
SEG39
···
···
SEG47
SEG24
SEG48
SEG23
···
···
SEG63
SEG8
SEGREV = 1
SEGREV = 0
SEG64
SEG7
···
···
SEG71
SEG0
Not
implemented
Figure 22.5.2 Display Memory Map (for 1/16 duty)
Selecting a display area (when 1/16 duty is selected)
When 1/16 duty is selected for the drive duty, two screen areas are reserved in the display memory and the area
to be displayed can be selected using DSPAR (D5/LCD_DCTL register). When DSPAR is set to 0, display area
0 is selected; when it is set to 1, display area 1 is selected.
∗
DSPAR
: Display Memory Area Control Bit in the LCD Display Control (LCD_DCTL) Register (D5/0x50a0)
SEG pin assignments
The memory allocation for the SEG pins can be reversed using SEGREV (D7/LCD_DCTL register). When
SEGREV is 1 (default), the display memory addresses are allocated to the SEG pins in ascending order; when
SEGREV is set to 0, the addresses are allocated in descending order. (See Figures 22.5.1 and 22.5.2.)
∗
SEGREV
: Segment Output Assignment Control Bit in the LCD Display Control (LCD_DCTL) Register
(D7/0x50a0)
COM pin assignments
The memory allocation for the COM pins can be reversed using COMREV (D6/LCD_DCTL register). When
COMREV is 1 (default), the display memory bits are allocated to the COM pins in ascending order; when
COMREV is set to 0, the addresses are allocated in descending order. (See Figures 22.5.1 and 22.5.2.)
∗
COMREV
: Common Output Assignment Control Bit in the LCD Display Control (LCD_DCTL) Register
(D6/0x50a0)
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 ...