English
Language : 

UPSD3422_06 Datasheet, PDF (31/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
uPSD34xx
Special function registers (SFR)
8
Special function registers (SFR)
Note:
A group of registers designated as Special Function Register (SFR) is shown in Table 5 on
page 32. SFRs control the operating modes of the MCU core and also control the peripheral
interfaces and I/O pins on the MCU Module. The SFRs can be accessed only by using the
Direct Addressing method within the address range from 80h to FFh of internal 8032 SRAM.
Sixteen addresses in SFR address space are both byte- and bit-addressable. The bit-
addressable SFRs are noted in Table 5.
106 of a possible 128 SFR addresses are occupied. The remaining unoccupied SFR
addresses (designated as “RESERVED” in Table 5) should not be written. Reading
unoccupied locations will return an undefined value.
There is a separate set of control registers for the PSD Module, designated as csiop, and
they are described in the Section 28: PSD module on page 185. The I/O pins, PLD, and
other functions on the PSD Module are NOT controlled by SFRs.
SFRs are categorized as follows:
● MCU core registers:
IP, A, B, PSW, SP, DPTL, DPTH, DPTC, DPTM
● MCU Module I/O Port registers:
P1, P3, P4, P1SFS0, P1SFS1, P3SFS, P4SFS0, P4SFS1
● Standard 8032 Timer registers
TCON, TMOD, T2CON, TH0, TH1, TH2, TL0, TL1, TL2, RCAP2L, RCAP2H
● Standard Serial Interfaces (UART)
SCON0, SBUF0, SCON1, SBUF1
● Power, clock, and bus timing registers
PCON, CCON0, CCON1, BUSCON
● Hardware watchdog timer registers
WDKEY, WDRST
● Interrupt system registers
IP, IPA, IE, IEA
● Prog. Counter Array (PCA) control registers
PCACL0, PCACH0, PCACON0, PCASTA, PCACL1, PCACH1, PCACON1, CCON2,
CCON3
● PCA capture/compare and PWM registers
CAPCOML0, CAPCOMH0, TCMMODE0, CAPCOML1, CAPCOMH1, TCMMODE2,
CAPCOML2, CAPCOMH2, TCMMODE2, CAPCOML3, CAPCOMH3, TCMMODE3,
31/293