gc80c521a CORERIVER Semiconductor, gc80c521a Datasheet - Page 28

no-image

gc80c521a

Manufacturer Part Number
gc80c521a
Description
Flash / Isp / Iap 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
P3TYP (BCh) : Port 3 Type Control Register
P3DIR (E4h) : Port 3 Input/Output Control Register
P3SEL (D4h) : Port 3 Pull-up Control Register
ADCENB3 (D7h) :
ADCENB3.7 ADCENB3.6 ADCENB3.5 ADCENB3.4 ADCENB3.3 ADCENB3.2 ADCENB3.1 ADCENB3.0
P3TYPE.7 P3TYPE.6 P3TYPE.5 P3TYPE.4 P3TYPE.3 P3TYPE.2 P3TYPE.1 P3TYPE.0
P3DIR.7 P3DIR.6 P3DIR.5 P3DIR.4 P3DIR.3 P3DIR.2 P3DIR.1 P3DIR.0
P3SEL.7 P3SEL.6 P3SEL.5 P3SEL.4 P3SEL.3 P3SEL.2 P3SEL.1 P3SEL.0
R/W(1) R/W(1) R/W(1) R/W(1) R/W(1) R/W(1) R/W(1) R/W(1)
R/W(0) R/W(0) R/W(0) R/W(0) R/W(0) R/W(0) R/W(0) R/W(0)
R/W(0) R/W(0) R/W(0) R/W(0) R/W(0) R/W(0) R/W(0) R/W(0)
R/W(1) R/W(1) R/W(1) R/W(1) R/W(1) R/W(1) R/W(1) R/W(1)
6.5. I/O Ports : PORT3[7:0]
Open-drain or push-pull output, pull-up control, ADC input.
The alternative functions are available only when the corresponding SFR bit is “1”.
Read-Modify-Write instructions do not read port pin but the port SFR.
0 = Push-pull Output / 1 = Open-drain Output (Default)
0 = Output (Default) / 1 = Input
0 = ADC0 channel ON / 1 = ADC0 channel OFF (Default)
0 = Pull-up resistor ON (Default) / 1 = OFF
P3.0 = RXD, PWM3.0, ADC3.0
P3.4 = T0, PWM3.4, ADC3.4
ANL
/
ORL
/
ADC Channel Enable Bar Register (P3 port)
XRL
/
JBC
/
CPL
/
/
P3.5 = T1, PWM3.5, ADC3.5
/
INC
P3.1 = TXD, PWM3.1, ADC3.1
/
DEC
/
DJNZ
/
MOV PX.Y, C
CPU BUS
Alternative Output
/
P3.6 = WR, PWM3.6, ADC3.6
/
/
P3.2 = INT0, PWM3.2, ADC3.2
CLR PX.Y
P3 (B0h) : Port 3 Register
R/W(1) R/W(1) R/W(1) R/W(1) R/W(1) R/W(1) R/W(1) R/W(1)
P3.7
P3DIR.1
P3.1
SFR
QB
Digital Input
Q
/
P3.6
ADC Input
SETB PX.Y
P3.5
P3TYP.1
MiDAS1.0B Family
P3.4
/
1
P3.7 = RD, PWM3.7, ADC3.7
0
/
ADCENB3.1
P3.3 = INT1, PWM3.3, ADC3.3
P3.3
P3.2
P3.1
P3SEL.1
P3.0
[28]
P3.1
/

Related parts for gc80c521a