Preliminary W928C73
- 10 -
Descriptions Of Special Function Registers (SFRS), continued
ADDRESS
/NAME
BIT
BIT NAME
R/W
1
0
INITIAL
FUNCTION
B3
- R/W
1
B2
- R/W
1
Set B3 and B2 to 1 after power on reset.
B1
ELC R/W
Enable Disable
1
ELC: enable L_clock.
Keep this bit high for whole operation.
B0
EHC R/W
0
Clear to “0” after reset.
B7
LED
W
High
Low
1
LED output port P1.7 (HI-drive)
B6
Buz_out
W
High
Low
1
Initial value of buzzer output pin
B5
Motor
W
High
Low
1
Motor output pin(Hi-drive)
B4
W
1
No use
B3
DEC_RST
W
High
Low
1
Decoder reset control bit
B2
DEC_ON
W
High
Low
1
Decoder enable control bit
B1
DEC_
DATA
W
High
Low
1
Decoder option setup data output control bit
90H/P1
B0
DEC_CLK
W
High
Low
1
Decoder option setup clock output control bit
B7
-
W
0
B6
-
W
0
B5
-
W
0
B4
-
W
0
B3
-
W
0
B2
-
W
0
Clear B7~B2 to 0 after power on reset.
B1
ENBT
W
Enable Disable
0
Buzzer timer enable (used as a general timer)
91H/PBCON
B0
ENBUZ
W
Enable Disable
0
Buzzer output enable
92H/TONE0 B7~0
TONE0
W
00000000 Auto reload value of buzzer timer
96H/PLC
B7~0
PLC
R
00000000 Low byte of program counter
97H/PLH
B7~0
PLH
R
00000000 High byte of program counter
A0H/P2
B7
P2.7 W/R
High
Low
1
I/O P2.7
B6
P2.6 W/R
1
B5
P2.5 W/R
1
B4
P2.4 W/R
1
B6~B4 no use when LCD is on.
B3
P2.3 W/R
High
Low
1
No use if SEG35~32 work as LCD segment.
I/O P2.3 value if SEG35~32 work as
P2.3~P2.0 function (P2M (A1.1H) = 0)
B2
P2.2 W/R
High
Low
1
I/O P2.2 value if SEG35~32 work as
P2.3~P2.0 function (P2M (A1.1H) = 0)
B1
P2.1 W/R
High
Low
1
No use if SEG35~32 work as LCD segment.
I/O P2.1 value if SEG35~32 work as
P2.3~P2.0 function (P2M (A1.1H) = 0)