Datasheet

28
AT89C5132
4173C–USB–07/04
Special Function
Registers
The Special Function Registers (SFRs) of the AT89C5132 derivatives fall into the cate-
gories detailed in Table 15 to Table 30. The relative addresses of these SFRs are
provided together with their reset values in Table 31. In this table, the bit-addressable
registers are identified by Note 1.
Table 15. C51 Core SFRs
MnemonicAddName 76543210
ACCE0hAccumulator ––––––––
BF0hB Register ––––––––
PSW D0h Program Status Word CY AC F0 RS1 RS0 OV F1 P
SP81hStack Pointer ––––––––
DPL82hData Pointer Low byte ––––––––
DPH83hData Pointer High byte –––––––
Table 16. System Management SFRs
MnemonicAddName 76543210
PCON 87h Power Control SMOD1 SMOD0 GF1 GF0 PD IDL
AUXR 8Eh Auxiliary Register 0 EXT16 M0 DPHDIS XRS1 XRS0
EXTRAM
AO
AUXR1 A2h Auxiliary Register 1
ENBOOT
–GF30 DPS
NVERS FBh Version Number NV7 NV6 NV5 NV4 NV3 NV2 NV1 NV0
Table 17. PLL and System Clock SFRs
MnemonicAddName 76543210
CKCON8FhClock Control –––––––X2
PLLCON E9h PLL Control R1 R0 PLLRES v PLLEN PLOCK
PLLNDIV EEh PLL N Divider N6 N5 N4 N3 N2 N1 N0
PLLRDIV EFh PLL R Divider R9 R8 R7 R6 R5 R4 R3 R2
Table 18. Interrupt SFRs
MnemonicAddName 76543210
IEN0 A8h Interrupt Enable Control 0 EA EAUD ES ET1 EX1 ET0 EX0
IEN1 B1h Interrupt Enable Control 1 EUSB EKB EADC ESPI EI2C EMMC
IPH0 B7h Interrupt Priority Control High 0 IPHAUD IPHS IPHT1 IPHX1 IPHT0 IPHX0
IPL0 B8h Interrupt Priority Control Low 0 IPLAUD IPLS IPLT1 IPLX1 IPLT0 IPLX0
IPH1 B3h Interrupt Priority Control High 1 IPHUSB IPHKB IPHADC IPHSPI IPHI2C IPHMMC
IPL1 B2h Interrupt Priority Control Low 1 IPLUSB IPLKB IPLADC IPLSPI IPLI2C IPLMMC