Energy Meter IC Family Software Instruction Manual

71M652X Software User’s Guide
Revision 1.7 TERIDIAN Proprietary 107 of 138
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
Generic Special Function Registers Location and Reset Values
Table 6-5 shows the location of the SFRs and the value they assume at reset or power-up.
Register Location Reset value Description
P0 80H FFH Port 0
SP 81H 07H Stack Pointer
DPL 82H 00H Data Pointer Low 0
DPH 83H 00H Data Pointer High 0
DPL1 84H 00H Data Pointer Low 1
DPH1 85H 00H Data Pointer High 1
WDTREL 86H 00H Watchdog Timer Reload register
PCON 87H 00H Power Control
TCON 88H 00H Timer/Counter Control
TMOD 89H 00H Timer Mode Control
TL0 8AH 00H Timer 0, low byte
TL1 8BH 00H Timer 1, high byte
TH0 8CH 00H Timer 0, low byte
TH1 8DH 00H Timer 1, high byte
CKCON 8EH 01H Clock Control (Stretch=1)
P1 90H FFH Port 1
DPS 92H 00H Data Pointer select Register
S0CON 98H 00H Serial Port 0, Control Register
S0BUF 99H 00H Serial Port 0, Data Buffer
IEN2 9AH 00H Interrupt Enable Register 2
S1CON 9BH 00H Serial Port 1, Control Register
S1BUF 9CH 00H Serial Port 1, Data Buffer
S1RELL 9DH 00H Serial Port 1, Reload Register, low byte
P2 A0H 00H Port 2
IEN0 A8H 00H Interrupt Enable Register 0
IP0 A9H 00H Interrupt Priority Register 0
S0RELL AAH D9H Serial Port 0, Reload Register, low byte
IEN1 B8H 00H Interrupt Enable Register 1
IP1 B9H 00H Interrupt Priority Register 1
S0RELH BAH 03H Serial Port 0, Reload Register, high byte
S1RELH BBH 03H Serial Port 1, Reload Register, high byte
USR2 BFH 00H User 2 Port, high address byte for MOVX@Ri
IRCON C0H 00H Interrupt Request Control Register
T2CON C8H 00H Timer 2 control register (only bits I2FR and I3FR are used)
PSW D0H 00H Program Status Word
WDCON D8H 00H Baud Rate Control Register (only WDCON.7 bit used)
A E0H 00H Accumulator
B F0H 00H B Register
Table 6-5: Special Function Registers Reset Values