PIC18F23K20-E/MLQTP MICROCHIP [Microchip Technology], PIC18F23K20-E/MLQTP Datasheet - Page 123

no-image

PIC18F23K20-E/MLQTP

Manufacturer Part Number
PIC18F23K20-E/MLQTP
Description
28/40/44-Pin Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
TABLE 10-3:
© 2007 Microchip Technology Inc.
RB0/INT0/FLT0/
AN12
RB1/INT1/AN10/
C12IN2-/P1C
RB2/INT2/AN8/
P1B
RB3/AN9/C12IN3-/
CCP2
RB4/KBI0/AN11/
P1D
RB5/KBI1/PGM
Legend:
Note 1:
2:
3:
Pin
DIG = Digital level output; TTL = TTL input buffer; ST = Schmitt Trigger input buffer; ANA = Analog level input/output;
x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).
Configuration on POR is determined by the PBADEN Configuration bit. Pins are configured as analog inputs by default
when PBADEN is set and digital inputs when PBADEN is cleared.
Alternate assignment for CCP2 when the CCP2MX Configuration bit is ‘0’. Default assignment is RC1.
All other pin functions are disabled when ICSP or ICD are enabled.
PORTB I/O SUMMARY
Function
C12IN2-
C12IN3-
CCP2
AN12
AN10
AN11
FLT0
PGM
INT0
INT1
INT2
KBI0
KBI1
RB0
RB1
P1C
RB2
AN8
RB3
AN9
RB4
P1D
RB5
P1B
(2)
Setting
TRIS
0
1
1
1
1
0
1
1
1
1
0
0
1
1
1
0
0
1
1
1
0
1
0
1
1
1
0
0
1
1
x
I/O
O
O
O
O
O
O
O
O
O
O
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
Advance Information
Type
ANA
ANA
ANA
ANA
ANA
ANA
ANA
DIG
TTL
DIG
TTL
DIG
DIG
TTL
DIG
DIG
TTL
DIG
DIG
TTL
TTL
DIG
DIG
TTL
TTL
I/O
ST
ST
ST
ST
ST
ST
LATB<0> data output; not affected by analog input.
PORTB<0> data input; Programmable weak pull-up. Disabled when
analog input enabled.
External interrupt 0 input.
Enhanced PWM Fault input (ECCP1 module); enabled by software.
A/D input channel 12.
LATB<1> data output; not affected by analog input.
PORTB<1> data input; Programmable weak pull-up. Disabled when
analog input enabled.
External Interrupt 1 input.
ADC input channel 10.
Comparators C1 and C2 inverting input, channel 2. Analog select is
shared with ADC.
ECCP PWM output (28-pin devices only).
LATB<2> data output; not affected by analog input.
PORTB<2> data input; Programmable weak pull-up. Disabled when
analog input enabled.
External interrupt 2 input.
ADC input channel 8.
ECCP PWM output (28-pin devices only).
LATB<3> data output; not affected by analog input.
PORTB<3> data input; Programmable weak pull-up. Disabled when
analog input enabled.
ADC input channel 9.
Comparators C1 and C2 inverting input, channel 3. Analog select is
shared with ADC.
CCP2 compare and PWM output.
CCP2 capture input
LATB<4> data output; not affected by analog input.
PORTB<4> data input; Programmable weak pull-up. Disabled when
analog input enabled.
Interrupt-on-pin change.
ADC input channel 11.
ECCP PWM output (28-pin devices only).
LATB<5> data output.
PORTB<5> data input; Programmable weak pull-up.
Interrupt-on-pin change.
Single-Supply Programming mode entry (ICSP™). Enabled by LVP
Configuration bit; all other pin functions disabled.
PIC18F2XK20/4XK20
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
Description
DS41303B-page 121

Related parts for PIC18F23K20-E/MLQTP