LED Pulse Generator
7-102
Table 7–74. LPG Control Register (LCR)
Bit
Name
Function
R/W
Reset
Value
7
PERM_ON
Set high to force permanent light on.
Asynchronous writing and reading.
R/W
0
6
LPGRES
LPG counter reset, active low.
Asynchronous writing and reading.
R/W
0
5–3
ONCTRL
Time LED is on parameter.
Asynchronous writing and reading.
R/W
000
2–0
PERCTRL
LED blink frequency.
Asynchronous writing and reading.
R/W
000
With the LCR bits 2-0, the blinking period of the LED is determined.
Table 7–75. LED Blinking Period
LCR Bit 2
LCR Bit 1
LCR Bit 0
Period of LED
Number of Clock Cycles
0
0
0
125 ms
32
0
0
1
250 ms
64
0
1
0
500 ms
128
0
1
1
1 s
256
1
0
0
1.5 s
384
1
0
1
2 s
512
1
1
0
2.5 s
640
1
1
1
3 s
768