
16 SEVEN-SEGMENT LED CONTROLLER (LEDC)
16-8
Seiko Epson Corporation
S1C17M12/M13 TECHNICAL MANUAL
(Rev. 1.2)
LEDC Lighting Period Setting Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
LEDCLPSET
15–8 –
0x00
–
R
–
7–0 LICLKDIV[7:0]
0xff
H0
R/W
Bits 15–8 Reserved
Bits 7–0
LICLKDIV[7:0]
These bits set a CLK_LEDC division ratio to determine the COM lighting period. For more informa-
tion, refer to “LED Lighting Cycle.”
LEDC Interrupt Flag Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
LEDCINTF
15–8 –
0x00
–
R
–
7–1 –
0x00
–
R
0
COM0LTIF
0
H0
R/W Cleared by writing 1.
Bits 15–1 Reserved
Bit 0
COM0LTIF
This bit indicates the COM0 lighting interrupt cause occurrence status.
1 (R):
Cause of interrupt occurred
0 (R):
No cause of interrupt occurred
1 (W):
Clear flag
0 (W):
Ineffective
LEDC Interrupt Enable Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
LEDCINTE
15–8 –
0x00
–
R
–
7–1 –
0x00
–
R
0
COM0LTIE
0
H0
R/W
Bits 15–1 Reserved
Bit 0
FRMIE
This bit enables the COM0 lighting interrupt.
1 (R/W): Enable interrupt
0 (R/W): Disable interrupt
LEDC COM
xy
Data Registers
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
LEDCDATxy
15–8 COMy[7:0]
0x00
H0
R/W –
7–0 COMx[7:0]
0x00
H0
R/W
xy = 10, 32, 54, 76
Bits 15–8 COM
y
[7:0]
These bits are SEG data to display during the COM
y
lighting period.
Bits 7–0
COM
x
[7:0]
These bits are SEG data to display during the COM
x
lighting period.
For the correspondence between the bits and segments, refer to “Display Data Registers.”
The number of COMs that can be used and the configuration of the LEDCDATA
xy
registers
depend on the model. Furthermore, settings up to the COM number that has been specified with the
LEDCCTL.NDIGITS[2:0] bits are only effective.