gc80c521a CORERIVER Semiconductor, gc80c521a Datasheet - Page 26

no-image

gc80c521a

Manufacturer Part Number
gc80c521a
Description
Flash / Isp / Iap 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
P1TYP (BAh) : Port 1 Type Control Register
P1DIR (E2h) : Port 1 Input/Output Control Register
P1SEL (D2h) : Port 1 Pull-up Control Register
ADCENB1 (CFh) :
ADCENB1.7 ADCENB1.6 ADCENB1.5 ADCENB1.4 ADCENB1.3 ADCENB1.2 ADCENB1.1 ADCENB1.0
P1TYPE.7 P1TYPE.6 P1TYPE.5 P1TYPE.4 P1TYPE.3 P1TYPE.2 P1TYPE.1 P1TYPE.0
P1DIR.7 P1DIR.6 P1DIR.5 P1DIR.4 P1DIR.3 P1DIR.2 P1DIR.1 P1DIR.0
P1SEL.7 P1SEL.6 P1SEL.5 P1SEL.4 P1SEL.3 P1SEL.2 P1SEL.1 P1SEL.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 : PORT1[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 = Pull-up resistor ON (Default) / 1 = OFF
0 = ADC0 channel ON / 1 = ADC0 channel OFF (Default)
P1.0 = T2, PWM1.0, ADC1.0
PWM1.4, ADC1.4
ANL
/
ORL
/
ADC Channel Enable Bar Register (P1 port)
XRL
/
/
JBC
P1.5 = INT3, PWM1.5, ADC1.5
/
CPL
/
/
P1.1 = T2EX, PMW1.1, ADC1.1
INC
/
DEC
/
DJNZ
/
/
MOV PX.Y, C
P1.6 = INT4, PWM1.6, ADC1.6
CPU BUS
Alternative Output
/
P1.2 = PWM1.2, ADC1.2
/
CLR PX.Y
P1 (90h) : Port 1 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)
P1.7
P1DIR.1
P1.1
SFR
QB
Digital Input
Q
/
P1.6
ADC Input
SETB PX.Y
P1.5
P1TYP.1
/
P1.7 = INT5, PWM1.7, ADC1.7
/
MiDAS1.0B Family
P1.3 = PWM1.2, ADC1.3
P1.4
1
0
ADCENB1.1
P1.3
P1.2
P1.1
/
P1.4 = INT2,
P1SEL.1
P1.0
[26]
P1.1

Related parts for gc80c521a