16 SEVEN-SEGMENT LED CONTROLLER (LEDC)
S1C17M12/M13 TECHNICAL MANUAL
Seiko Epson Corporation
16-7
(Rev. 1.2)
LEDC Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
LEDCCTL
15 –
0
–
R
–
14–12 NDIGITS[2:0]
0x0
H0
R/W
11 –
0
–
R
10–9 BRITCNT[1:0]
0x0
H0
R/W
8
COMMOD
0
H0
R/W
7–6 –
0x0
–
R
5
SGOFFMOD
0
H0
R/W
4
CMOFFMOD
1
H0
R/W
3–2 –
0x0
–
R
1
DSPON
0
H0
R/W
0
MODEN
0
H0
R/W
Bit 15
Reserved
Bits 14–12 NDIGITS[2:0]
These bits set the number of display digits (number of COMs used). For more information, refer to
“Number of Display Digits.”
Bit 11
Reserved
Bits 10–9 BRITCNT[1:0]
These bits set the brightness level (COM lighting time). For more information, refer to “Brightness
Adjustment.”
Bit 8
COMMOD
This bit sets the common mode.
1 (R/W): Cathode common
0 (R/W): Anode common
Bits 7–6
Reserved
Bit 5
SGOFFMOD
This bit configures the driver state at the SEG off time.
1 (R/W): SEG pin = Hi-Z
0 (R/W): SEG pin = H (anode common), SEG pin = L (cathode common)
Bit 4
CMOFFMOD
This bit configures the driver state at the COM off time.
1 (R/W): COM pin = Hi-Z
0 (R/W): COM pin = L (anode common), COM pin = H (cathode common)
Bits 3–2
Reserved
Bit 1
DSPON
This bit turns the display on and off.
1 (R/W): Display on (starts lighting from COM0)
0 (R/W): Display off
Bit 0
MODEN
This bit enables the LEDC operations.
1 (R/W): Enable LEDC operations
0 (R/W): Disable LEDC operations
Setting this bit to 1 starts supplying the operating clock to the LEDC.
Note: Be sure to avoid setting the LEDCCTL.MODEN bit = 0 and the LEDCCTL.DSPON bit = 1 at the
same time.