www
.mcu.com.cn
137
/
239
Rev.
1.00
CMS80F731x Reference Manual
18.
Hardware LED
Matrix
Driver
18.1 Overview
The chip integrates a hardware
LED
matrix
driver circuit, which can facilitate the user to realize the display drive of the LED.
18.2 Characteristic
Hardware LED
matrix
drivers have the following characteristics:
◆
1/4, 1/5, 1/6, 1/8 DUTY is available.
◆
Three clock sources are available: system clock, LSI, and LSE.
◆
16-bit clock source crossover controller.
◆
Supports up to 8 COM ports and 16 SEG ports.
◆
COM port common-negative, common-positive two drive mode optional.
◆
COM port current 50 mA, 150 mA selectable (V
OL
= 1.5V@VDD = 5 V).
◆
The SEG port current is selectable in 16 steps, and the maximum current can reach 40mA (V
OH
=3.5V@VDD=5V).
18.3 Related Registers
18.3.1
LED Drive Mode Select
Register LEDMODE
F769O'CLOCK
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
LEDMODE
LEDMODE7
LEDMODE6
LEDMODE5
LEDMODE4
LEDMODE3
LEDMODE2
LEDMODE1
LEDMODE0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset value
0
0
0
0
0
0
0
0
Bit7~Bit0
LEDMODE<7:0>:
LED drive mode selection register;
0x55=
The LED matrix drive mode is valid, and the relevant registers are in effect;
(Before configuring the LED matrix drive mode, the register must first write 0x55,
otherwise it is invalid.)
)
0xAA=
The LED dot matrix drive mode is valid, and the relevant registers are effective;
(Before configuring led dot matrix drive mode, the register must first write 0xAA,
otherwise it is invalid.)
)
Other values=
Invalid.