PIC17C752 MICROCHIP [Microchip Technology], PIC17C752 Datasheet - Page 68
![no-image](/images/no-image-200.jpg)
PIC17C752
Manufacturer Part Number
PIC17C752
Description
High-Performance 8-Bit CMOS EPROM Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC17C752.pdf
(320 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC17C752-16/L
Manufacturer:
Microchip
Quantity:
120
Company:
Part Number:
PIC17C752-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C752-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C752-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C752-16E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C752-16I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C752-33/L
Manufacturer:
Microchip
Quantity:
304
Part Number:
PIC17C752-33I/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC17C752-ES
Manufacturer:
Microchip
Quantity:
18
- Current page: 68 of 320
- Download datasheet (3Mb)
10.2
PORTB is an 8-bit wide bi-directional port. The corre-
sponding data direction register is DDRB. A '1' in
DDRB configures the corresponding port pin as an
input. A '0' in the DDRB register configures the corre-
sponding port pin as an output. Reading PORTB reads
the status of the pins, whereas writing to it will write to
the port latch.
Each of the PORTB pins has a weak internal pull-up. A
single control bit can turn on all the pull-ups. This is
done by clearing the RBPU (PORTA<7>) bit. The weak
pull-up is automatically turned off when the port pin is
configured as an output. The pull-ups are enabled on
any reset.
PORTB also has an interrupt on change feature. Only
pins configured as inputs can cause this interrupt to
occur (i.e. any RB7:RB0 pin configured as an output is
excluded from the interrupt on change comparison).
The input pins (of RB7:RB0) are compared with the
value in the PORTB data latch. The “mismatch” outputs
of RB7:RB0 are OR’ed together to set the PORTB
Interrupt Flag bit, RBIF (PIR1<7>).
FIGURE 10-5: BLOCK DIAGRAM OF RB5:RB4 AND RB1:RB0 PORT PINS
DS30264A-page 68
Note: I/O pins have protection diodes to V
Weak
Pull-Up
PORTB and DDRB Registers
OE
DD
and V
SS
Port
Input Latch
.
Port
Data
Preliminary
Q
This interrupt can wake the device from SLEEP. The
user, in the interrupt service routine, can clear the inter-
rupt by:
a)
b)
A mismatch condition will continue to set the RBIF bit.
Reading then writing PORTB will end the mismatch
condition, and allow the RBIF bit to be cleared.
This interrupt on mismatch feature, together with soft-
ware configurable pull-ups on this port, allows easy
interface to a keypad and make it possible for wake-up
on key-depression. For an example, refer to Applica-
tion Note AN552, “Implementing Wake-up on Key-
stroke.”
The interrupt on change feature is recommended for
wake-up on operations where PORTB is only used for
the interrupt on change feature and key depression
operations.
CK
Read-Write PORTB (such as; MOVPF PORTB,
PORTB). This will end mismatch condition.
Then, clear the RBIF bit.
D
Match Signal
from other
port pins
Q
CK
1997 Microchip Technology Inc.
D
Peripheral Data in
RBPU
WR_PORTB (Q4)
RD_PORTB (Q2)
WR_DDRB (Q4)
RD_DDRB (Q2)
(PORTA<7>)
Data Bus
RBIF
Related parts for PIC17C752
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC17C44-16I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC17C, 16MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C756A-16I/L](/photos/12/13/121323/c04-049_l_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC17C, 33MHZ, PLCC-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F2480](/images/no-image3.png)
Part Number:
Description:
28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC18F2682-I/PT](/images/no-image3.png)
Part Number:
Description:
28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![MCP4024](/images/no-image3.png)
Part Number:
Description:
Low-Cost NV Digital POT with WiperLock Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC12F1516](/images/no-image3.png)
Part Number:
Description:
28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC12F1822](/images/no-image3.png)
Part Number:
Description:
8/14-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC12F1840](/images/no-image3.png)
Part Number:
Description:
8-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![TC1263](/images/no-image3.png)
Part Number:
Description:
500mA Fixed Output CMOS LDO with Shutdown
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![TC1268](/images/no-image3.png)
Part Number:
Description:
500mA Fixed Output, Fast Response CMOS LDO with Shutdown
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![TC4405](/images/no-image3.png)
Part Number:
Description:
1.5A Dual Open-Drain MOSFET Drivers
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![TC4428](/images/no-image3.png)
Part Number:
Description:
1.5A DUAL HIGH-SPEED POWER MOSFET DRIVERS
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![MCP41100](/images/no-image3.png)
Part Number:
Description:
Single/Dual Digital Potentiometer with SPI Interface
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet: