www
.mcu.com.cn
159
/
239
Rev.
1.00
CMS80F731x Reference Manual
19.4.10
LED Dot Matrix Drive Cycle Select Register LEDnSEL (n=0-7).
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
LEDnSEL
LEDnSEL7
LEDnSEL6
LEDnSEL5
LEDnSEL4
LEDnSEL3
LEDnSEL2
LEDnSEL1
LEDnSEL0
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
LED0SEL Address:F750H;
LED1SEL Address:F751H;
LED2SEL Address:F754H; LED3SEL Address:F755H;
LED4SEL Address:F758H;
LED5SEL Address:F759H;
LED6SEL Address:F75CH; LED7SEL Address:F75DH;
Bit7~Bit0
LEDnSEL<7:0>: LED dot matrix drive mode, dot matrix display cycle configuration register;
1= LED dot matrix drive mode, the second period of the LED display period
corresponding to the coordinates on the dot matrix is selected;
0= LED dot matrix drive mode, the first period of the LED display period corresponding
to the coordinates on the dot matrix is selected.
Dot matrix drive mode corresponding to
LED
display cycle configuration:
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
LED0SEL0
Led7
Led6
Led5
Led4
Led3
Led2
Led1
Led0
LED1SEL1
Led15
Led14
Led13
Led12
Led11
Land10
Led9
Led8
LED2SEL2
Led23
Led22
Led21
Led20
Led19
Led18
Led17
Led16
LED3SEL3
Led31
Led30
Led29
Led28
Led27
Led26
Led25
Led24
LED4SEL4
Led39
Led38
Led37
Led36
Led35
Led34
Led33
Led32
LED5SEL5
Led47
Led46
Led45
Led44
Led43
Led42
Led41
Led40
LED6SEL6
Led55
Led54
Led53
Landd52
Led51
Led50
Led49
Led48
LED7SEL7
Led63
Led62
Led61
Led60
Led59
Led58
Led57
Led56
Note: Led0-Led63
corresponding
64
LED
coordinate
positions of
8*8
dot matrix.
19.4.11
P00-P03 Drive Current Control
Register
LEDSDRP0L
F710 H
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
LEDSDRP0L
--
--
--
--
DRC3
DRC2
DRC1
DRC0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset value
0
0
0
0
1
1
1
1
Bit7~Bit4
--
Reserved, must be 0.
Bit3~Bit0
DRC<3:0>:
Pull current drive select control position (control P00/P01/P02/P03
four ports);
0000=
0mA;
1000=
21.6mA;
0001=
2.7mA;
1001=
24.3mA;
0010=
5.4mA;
1010=
27.0mA;
0011=
8.1mA;
1011=
29.7mA;
0100=
10.9mA;
1100=
32.4mA;
0101=
13.5mA;
1101=
35.1mA;
0110=
16.2mA;
1110=
37.8mA;
0111=
18.9mA;
1111=
40.5mA.