www
.mcu.com.cn
145
/
239
Rev.
1.00
CMS80F731x Reference Manual
Bit3
LEDENL3:
(LEDMODE==0xAA) dot matrix drive mode LED3 (P03) pin function and current drive
enable bit;
1= Led3 pins of the dot matrix drive function enable;
The pull current drive of the LED3 pins is configured by
the LEDSDRP0L register.
0= The dot matrix drive function of the LED3 pins is Disabled as a GPIO function;
The pull current drive of the LED3 pins is the default
value.
(LEDMODE!=0xAA) Matrix drive mode SEG3 (P07) / software drive P07 pin current
drive enable bit;
1= The pull current drive of the P07 pin is configured by
the LEDSDRP0H register;
0= The pull current drive of the P07 pin is the default value.
Bit2
LEDENL2:
(LEDMODE==0xAA) dot matrix drive mode LED2 (P02) pin function and current drive
enable bit;
1= Led2 pins are enabled by the dot matrix drive function;
The pull current drive at the LED2 pins is configured by
the LEDSDRP0L register.
0= The dot matrix drive function of the LED2 pin is Disabled, as a GPIO function;
The current drive of the LED2 pin is the default
value.
(LEDMODE!=0xAA) Matrix drive mode SEG2 (P06) / software drive P06 pin current
drive enable bit;
1= The pull current drive of the P06 pin is configured by
the LEDSDRP0H register;
0= The pull current drive of the P06 pin is the default value.
Bit1
LEDENL1:
(LEDMODE==0xAA) dot matrix drive mode LED1 (P01) pin function and current drive
enable bit;
1= Led 1 pins of the dot matrix drive function enable;
The pull current drive at the LED1 pin is configured by
the LEDSDRP0L register.
0= The dot matrix drive function of the LED1 pin is Disabled as a GPIO function;
The pull current drive of the LED1 pin is the default
value.
(LEDMODE!=0xAA) Matrix drive mode SEG1 (P05) / software drive P05 pin current
drive enable bit;
1= The pull current drive of the P05 pin is configured by
the LEDSDRP0H register;
0= The pull current drive of the P05 pin is the default value.
Bit0
LEDENL0:
(LEDMODE==0xAA) dot matrix drive mode LED0 (P00) pin function and current drive
enable bit;
1= LED0 pins are enabled by dot matrix drive function;
The pull current drive of the LED0 pins is configured by
the LEDSDRP0L register.
0= The dot matrix drive function of the LED0 pin is Disabled as a GPIO function;
The pull current drive of the LED0 pin is the default
value.
(LEDMODE!=0xAA) Matrix drive mode SEG0 (P04) / software drive P04 pin current
drive enable bit;
1= The pull current drive of the P04 pin is configured by
the LEDSDRP0H register;
0= The pull current drive of the P04 pin is the default value.