ST & T UPSD3212A Computer Hardware User Manual


 
uPSD3212A, uPSD3212C, uPSD3212CV
40/163
Table 27. Description of the PCON Bits
Note: 1. See the T2CON register for details of the flag description
I/O PORTS (MCU MODULE)
The MCU Module has five ports: Port0, Port1,
Port2, Port3 and Port 4. (Refer to the PSD Module
section on I/O ports A,B,C and D). Ports P0 and
P2 are dedicated for the external address and data
bus and is not available in the 52-pin package de-
vices.
Port1 - Port3 are the same as in the standard 8032
micro-controllers, with the exception of the addi-
tional special peripheral functions (see Table 28).
All ports are bi-directional. Pins of which the alter-
native function is not used may be used as normal
bi-directional I/O.
The use of Port1- Port4 pins as alternative func-
tions are carried out automatically by the
uPSD321x Devices provided the associated SFR
Bit is set HIGH.
Table 28. I/O Port Functions
Bit Symbol Function
7 SMOD Double Baud Data Rate Bit UART
6 SMOD1 Double Baud Data Rate Bit 2nd UART
5 LVREN LVR Disable Bit (active High)
4 ADSFINT Enable ADC Interrupt
3
RCLK1
(1)
Received Clock Flag (UART 2)
2
TCLK1
(1)
Transmit Clock Flag (UART 2)
1 PD Activate Power-down Mode (High enable)
0 IDL Activate Idle Mode (High enable)
Port Name Main Function Alternate
Port 1 GPIO
Timer 2 - Bits 0,1
2nd UART - Bits 2,3
ADC - Bits 4..7
Port 3 GPIO
UART - Bits 0,1
Interrupt - Bits 2,3
Timers - Bits 4,5
I
2
C - Bits 6,7
Port 4 GPIO PWM - Bits 3..7