xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx
xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
Table 4. Special function registers …continued
* indicates SFRs that are bit addressable.
Name
Description
SFR Bit functions and addresses
addr. MSB
LSB
Reset value
Hex Binary
SCON*
Serial port
98H SM0/FE
SM1
SM2
REN
TB8
RB8
TI
control
RI
00
0000 0000
SSTAT
Serial port
BAH DBMOD INTLO
CIDIS DBISEL
FE
BR
OE
STINT 00
0000 0000
extended
status register
SP
Stack pointer 81H
07
0000 0111
SPCTL
SPI control
register
E2H SSIG
SPEN
DORD
MSTR
CPOL
CPHA
SPR1
SPR0 04
0000 0100
SPSTAT SPI status
E1H SPIF
WCOL
-
-
-
-
-
-
00
00xx xxxx
register
SPDAT
SPI data
E3H
register
00
0000 0000
TAMOD
Timer 0 and 1 8FH
-
-
-
T1M2
-
-
-
T0M2 00
xxx0 xxx0
auxiliary mode
Bit address 8F
8E
8D
8C
8B
8A
89
88
TCON*
Timer 0 and 1 88H
TF1
TR1
TF0
TR0
IE1
IT1
IE0
IT0 00
0000 0000
control
TH0
Timer 0 high 8CH
00
0000 0000
TH1
Timer 1 high 8DH
00
0000 0000
TL0
Timer 0 low
8AH
00
0000 0000
TL1
Timer 1 low
8BH
00
0000 0000
TMOD
Timer 0 and 1 89H T1GATE
mode
T1C/T
T1M1
T1M0 T0GATE T0C/T
T0M1
T0M0 00
0000 0000
TRIM
Internal
96H RCCLK
oscillator trim
register
ENCLK
TRIM.5
TRIM.4
TRIM.3
TRIM.2
TRIM.1
TRIM.0 [5][6]
WDCON Watchdog
A7H PRE2
PRE1
PRE0
-
control register
-
WDRUN WDTOF WDCLK [4][6]
WDL
Watchdog load C1H
FF
1111 1111
WFEED1
Watchdog
feed 1
C2H
WFEED2
Watchdog
feed 2
C3H