PIC16C770 Microchip Technology Inc., PIC16C770 Datasheet - Page 36

no-image

PIC16C770

Manufacturer Part Number
PIC16C770
Description
18/20-pin, 8-bit Cmos Microcontrollers With 10/12-bit A/d
Manufacturer
Microchip Technology Inc.
Datasheet
PIC16C717/770/771
REGISTER 3-2:
REGISTER 3-3:
DS41120B-page 34
bit 7-0
bit 7-0
WEAK PULL-UP PORTB REGISTER (WPUB: 95h)
INTERRUPT-ON-CHANGE PORTB REGISTER (IOCB: 96h)
bit 7
WPUB<7:0>: PORTB Weak Pull-Up Control bits
1 = Weak pull-up enabled
0 = Weak pull-up disabled
Legend:
R = Readable bit
- n = Value at POR
bit 7
IOCB<7:0>: Interrupt-on-Change PORTB Control bits
1 = Interrupt-on-change enabled
0 = Interrupt-on-change disabled
Legend:
R = Readable bit
- n = Value at POR
WPUB7
Note:
IOCB7
R/W-1
R/W-1
Note 1: For the WPUB register setting to take effect, the RBPU bit in the OPTION_REG
2: The weak pull-up device is automatically disabled if the pin is in Output mode
The interrupt enable bits GIE and RBIE in the INTCON Register must be set for indi-
vidual interrupts to be recognized.
register must be cleared.
(TRIS = 0).
WPUB6
IOCB6
R/W-1
R/W-1
WPUB5
IOCB5
R/W-1
R/W-1
W = Writable bit
’1’ = Bit is set
W = Writable bit
’1’ = Bit is set
WPUB4
IOCB4
R/W-1
R/W-1
WPUB3
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
IOCB3
R/W-1
R/W-0
WPUB2
IOCB2
R/W-1
R/W-0
2002 Microchip Technology Inc.
x = Bit is unknown
x = Bit is unknown
WPUB1
IOCB1
R/W-1
R/W-0
WPUB0
IOCB0
R/W-1
R/W-0
bit 0
bit 0

Related parts for PIC16C770