English
Language : 

PIC18F2331_10 Datasheet, PDF (21/392 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
PIC18F2331/2431/4331/4431
TABLE 1-3: PIC18F4331/4431 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Name
Pin Number
Pin Buffer
PDIP TQFP QFN Type Type
Description
PORTB is a bidirectional I/O port. PORTB can be software
programmed for internal weak pull-ups on all inputs.
RB0/PWM0
RB0
PWM0
33 8
9
I/O TTL Digital I/O.
O TTL PWM Output 0.
RB1/PWM1
RB1
PWM1
34 9 10
I/O TTL Digital I/O.
O TTL PWM Output 1.
RB2/PWM2
RB2
PWM2
35 10
11
I/O TTL
O TTL
Digital I/O.
PWM Output 2.
RB3/PWM3
RB3
PWM3
36 11
12
I/O TTL
O TTL
Digital I/O.
PWM Output 3.
RB4/KBI0/PWM5
RB4
KBI0
PWM5
37 14 14
I/O TTL
I TTL
O TTL
Digital I/O.
Interrupt-on-change pin.
PWM Output 5.
RB5/KBI1/PWM4/
PGM
RB5
KBI1
PWM4
PGM
38 15 15
I/O TTL
I TTL
O TTL
I/O ST
Digital I/O.
Interrupt-on-change pin.
PWM Output 4.
Single-Supply ICSP™ Programming entry pin.
RB6/KBI2/PGC
RB6
KBI2
PGC
39 16 16
I/O TTL
I TTL
I/O ST
Digital I/O.
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming clock pin.
RB7/KBI3/PGD
RB7
KBI3
PGD
40 17 17
I/O TTL
I TTL
I/O ST
Digital I/O.
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming data pin.
Legend:
Note 1:
TTL = TTL compatible input
CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels
I
= Input
O = Output
P
= Power
RC3 is the alternate pin for T0CKI/T5CKI; RC4 is the alternate pin for SDI/SDA; RC5 is the alternate pin
for SCK/SCL; RC7 is the alternate pin for SDO.
2: RD4 is the alternate pin for FLTA.
3: RD5 is the alternate pin for PWM4.
 2010 Microchip Technology Inc.
DS39616D-page 21