Microchip Technology DM183021 データシート
2010 Microchip Technology Inc.
DS39616D-page 21
PIC18F2331/2431/4331/4431
PORTB is a bidirectional I/O port. PORTB can be software
programmed for internal weak pull-ups on all inputs.
programmed for internal weak pull-ups on all inputs.
RB0/PWM0
RB0
PWM0
PWM0
33
8
9
I/O
O
TTL
TTL
TTL
Digital I/O.
PWM Output 0.
PWM Output 0.
RB1/PWM1
RB1
PWM1
PWM1
34
9
10
I/O
O
TTL
TTL
TTL
Digital I/O.
PWM Output 1.
PWM Output 1.
RB2/PWM2
RB2
PWM2
PWM2
35
10
11
I/O
O
TTL
TTL
TTL
Digital I/O.
PWM Output 2.
PWM Output 2.
RB3/PWM3
RB3
PWM3
PWM3
36
11
12
I/O
O
TTL
TTL
TTL
Digital I/O.
PWM Output 3.
PWM Output 3.
RB4/KBI0/PWM5
RB4
KBI0
PWM5
KBI0
PWM5
37
14
14
I/O
I
O
TTL
TTL
TTL
TTL
TTL
Digital I/O.
Interrupt-on-change pin.
PWM Output 5.
Interrupt-on-change pin.
PWM Output 5.
RB5/KBI1/PWM4/
PGM
PGM
RB5
KBI1
PWM4
PGM
KBI1
PWM4
PGM
38
15
15
I/O
I
O
I/O
TTL
TTL
TTL
TTL
TTL
ST
Digital I/O.
Interrupt-on-change pin.
PWM Output 4.
Single-Supply ICSP™ Programming entry pin.
Interrupt-on-change pin.
PWM Output 4.
Single-Supply ICSP™ Programming entry pin.
RB6/KBI2/PGC
RB6
KBI2
PGC
KBI2
PGC
39
16
16
I/O
I
I/O
TTL
TTL
TTL
ST
Digital I/O.
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming clock pin.
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming clock pin.
RB7/KBI3/PGD
RB7
KBI3
PGD
KBI3
PGD
40
17
17
I/O
I
I/O
TTL
TTL
TTL
ST
Digital I/O.
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming data pin.
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming data pin.
TABLE 1-3:
PIC18F4331/4431 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Name
Pin Number
Pin
Type
Buffer
Type
Description
PDIP TQFP QFN
Legend:
TTL = TTL compatible input
CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels
I
= Input
O
= Output
P
= Power
Note 1:
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.
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.