English
Language : 

UPSD3354DV-40U6 Datasheet, PDF (40/272 Pages) STMicroelectronics – fast 8032 MCU with programmable logic
Special function registers (SFR)
8
Special function registers (SFR)
UPSD33xx
A group of registers designated as Special Function register (SFR) is shown in Table 5 on
page 41. 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.
86 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.
Note:
There is a separate set of control registers for the PSD module, designated as csiop, and
they are described in the Section 27: PSD module on page 164. 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
t(s) ● MCU module I/O port registers: P1, P3, P4, P1SFS0, P1SFS1, P3SFS, P4SFS0,
P4SFS1
uc ● Standard 8032 timer registers: TCON, TMOD, T2CON, TH0, TH1, TH2, TL0, TL1, TL2,
d RCAP2L, RCAP2H
ro ● Standard serial interfaces (UART): SCON0, SBUF0, SCON1, SBUF1
P ● Power, clock, and bus timing registers: PCON, CCON0, BUSCON
te ● Hardware watchdog timer registers: WDKEY, WDRST
le ● Interrupt system registers: IP, IPA, IE, IEA
so ● Program counter array (PCA) control registers: PCACL0, PCACH0, PCACON0,
b PCASTA, PCACL1, PCACH1, PCACON1, CCON2, CCON3
O ● PCA capture/compare and PWM registers
) - CAPCOML0, CAPCOMH0, TCMMODE0, CAPCOML1, CAPCOMH1, TCMMODE2,
t(s CAPCOML2, CAPCOMH2, TCMMODE2, CAPCOML3, CAPCOMH3, TCMMODE3,
CAPCOML4, CAPCOMH4, TCMMODE4, CAPCOML5, CAPCOMH5, TCMMODE5,
c PWMF0, PMWF1
du ● SPI interface registers: SPICLKD, SPISTAT, SPITDR, SPIRDR, SPICON0, SPICON1
ro ● I2C interface registers: S1SETUP, S1CON, S1STA, S1DAT, S1ADR
P ● Analog-to-digital converter registers: ACON, ADCPS, ADAT0, ADAT1
Obsolete● IrDA interface register: IRDACON
40/272
Doc ID 9685 Rev 7