PIC18C242 MICROCHIP [Microchip Technology], PIC18C242 Datasheet - Page 82

no-image

PIC18C242

Manufacturer Part Number
PIC18C242
Description
High-Performance Microcontrollers with 10-Bit A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18C242-I/SO
Manufacturer:
MICROCHIP
Quantity:
2 000
Part Number:
PIC18C242/JW
Manufacturer:
NS
Quantity:
10
PIC18CXX2
TABLE 8-3:
TABLE 8-4:
DS39026B-page 82
PORTB
LATB
TRISB
INTCON
INTCON2
INTCON3
Legend: x = unknown, u = unchanged. Shaded cells are not used by PORTB.
Name
RB0/INT0
RB1/INT1
RB2/INT2
RB3/CCP2
RB4
RB5
RB6
RB7
Legend: TTL = TTL input, ST = Schmitt Trigger input
Note 1: This buffer is a Schmitt Trigger input when configured as the external interrupt.
Name
2: This buffer is a Schmitt Trigger input when used in serial programming mode.
3: A device configuration bit selects which I/O pin the CCP2 pin is multiplexed on.
4: This buffer is a Schmitt Trigger input when configured as the CCP2 input.
(3)
LATB Data Output Register
PORTB Data Direction Register
INT2IP
RBPU
Bit 7
GIEH
GIE/
RB7
Bit#
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
PORTB FUNCTIONS
SUMMARY OF REGISTERS
ASSOCIATED WITH PORTB
INTEDG0
INT1IP
PEIE/
Bit 6
GIEL
RB6
Buffer
TTL/ST
TTL/ST
TTL/ST
TTL/ST
TTL
TTL
TTL/ST
TTL/ST
INTEDG1
(1)
(1)
(1)
(4)
(2)
(2)
TMR0IE
Bit 5
RB5
Input/output pin or external interrupt input1. Internal software
programmable weak pull-up.
Input/output pin or external interrupt input2. Internal software programma-
ble weak pull-up.
Input/output pin or external interrupt input3. Internal software programma-
ble weak pull-up.
Input/output pin. Capture2 input/Compare2 output/PWM output when
CCP2MX configuration bit is enabled. Internal software programmable
weak pull-up.
Input/output pin (with interrupt on change). Internal software programma-
ble weak pull-up.
Input/output pin (with interrupt on change). Internal software programma-
ble weak pull-up.
Input/output pin (with interrupt on change). Internal software programma-
ble weak pull-up. Serial programming clock.
Input/output pin (with interrupt on change). Internal software programma-
ble weak pull-up. Serial programming data.
Function
INTEDG2
INT0IE
INT2IE
Bit 4
RB4
Preliminary
INT1IE
Bit 3
RBIE
RB3
TMR0IP
TMR0IF
Bit 2
RB2
INT0IF
INT2IF
Bit 1
RB1
INT1IF
Bit 0
RBIF
RBIP
RB0
7/99 Microchip Technology Inc.
xxxx xxxx
1111 1111
0000 000x
1111 -1-1
11-0 0-00
Value on
POR,
BOR
other resets
Value on all
uuuu uuuu
1111 1111
0000 000u
1111 -1-1
11-0 0-00

Related parts for PIC18C242