English
Language : 

PIC18F2331_07 Datasheet, PDF (21/400 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.
Low-Voltage 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:
2:
3:
TTL = TTL compatible input
ST = Schmitt Trigger input with CMOS levels
O = Output
OD = Open-Drain (no diode to VDD)
CMOS = CMOS compatible input or output
I
= Input
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.
RD4 is the alternate pin for FLTA.
RD5 is the alternate pin for PWM4.
© 2007 Microchip Technology Inc.
Preliminary
DS39616C-page 19