English
Language : 

UPSD3354DV-40U6 Datasheet, PDF (83/272 Pages) STMicroelectronics – fast 8032 MCU with programmable logic
UPSD33xx
I/O ports of MCU module
Table 39.
Bit 7
P3SFS7
P3SFS: Port 3 Special Function Select register (SFR 91h, reset value 00h)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P3SFS6 P3SFS5 P3SFS4 P3SFS3 P3SFS2 P3SFS1 P3SFS0
Table 40. P3SFS register bit definition
Port 3 pin R/W
Default port function
P3SFS[i] - 0; Port 3 pin, i = 0..7
Alternate port function
P3SFS[i] - 1; Port 3 pin, i = 0..7
0
R,W
GPIO
UART0 Receive, RXD0
1
R,W
GPIO
UART0 Transmit, TXD0
2
R,W
GPIO
Ext Intr 0/Timer 0 Gate,
EXT0INT/TG0
3
R,W
4
R,W
t(s) 5
R,W
c 6
R,W
du 7
R,W
GPIO
GPIO
GPIO
GPIO
GPIO
Ext Intr 1/Timer 1 Gate,
EXT1INT/TG1
Counter 0 Input, C0
Counter 0 Input, C1
I2C Data, I2CSDA
I2C Clock, I2CCL
Pro Table 41.
lete Bit 7
so P1SF07
P1SFS0: Port 1 Special Function Select 0 register (SFR 8Eh, reset value
00h)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P1SF06 P1SF05 P1SF04 P1SF03 P1SF02 P1SF01 P1SF00
- Ob Table 42.
t(s) Bit 7
uc P1SF17
P1SFS1: Port 1 Special Function Select 1 register (SFR 8Fh, reset value
00h)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P1SF16 P1SF15 P1SF14 P1SF13 P1SF12 P1SF11 P1SF10
Prod Table 43. P1SFS0 and P1SFS1 details
te Default port function
Obsole Port 1 pin
R/W
P1SFS0[i] = 0, P1SFS1[i] = x
Alternate 1 port
function
P1SFS0[i] = 1,
P1SFS1[i] = 0
Port 1 Pin, i = 0.. 7
Port 1 Pin, i = 0.. 7
0
R,W
GPIO
Timer 2 Count Input, T2 ADC Chn 0 Input, ADC0
1
R,W
GPIO
Timer 2 Trigger Input,
TX2
ADC Chn 1 Input, ADC1
2
R,W
GPIO
UART1 Receive, RXD1 ADC Chn 2 Input, ADC2
Doc ID 9685 Rev 7
83/272