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

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
PIC18F2XK20/4XK20
TABLE 10-3:
TABLE 10-4:
DS41303B-page 122
PORTB
LATB
TRISB
WPUB
IOCB
SLRCON
INTCON
INTCON2
INTCON3
ANSELH
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by PORTB.
RB6/KBI2/PGC
RB7/KBI3/PGD
Legend:
Note 1:
Name
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 Data Latch Register (Read and Write to Data Latch)
PORTB Data Direction Control Register
GIE/GIEH PEIE/GIEL TMR0IE
WPUB7
INT2IP
IOCB7
RBPU
Bit 7
SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
PORTB I/O SUMMARY (CONTINUED)
RB7
Function
KBI2
PGC
KBI3
PGD
RB6
RB7
INTEDG0 INTEDG1 INTEDG2
WPUB6
IOCB6
INT1IP
Bit 6
RB6
Setting
TRIS
0
1
1
x
0
1
1
x
x
WPUB5
I/O
IOCB5
O
O
O
I
I
I
I
I
I
Bit 5
RB5
Advance Information
Type
DIG
TTL
TTL
DIG
TTL
TTL
DIG
I/O
ST
ST
WPUB4
INT0IE
INT2IE
ANS12
IOCB4
SLRE
Bit 4
RB4
LATB<6> data output.
PORTB<6> data input; Programmable weak pull-up.
Interrupt-on-pin change.
Serial execution (ICSP) clock input for ICSP and ICD operation.
LATB<7> data output.
PORTB<7> data input; Programmable weak pull-up.
Interrupt-on-pin change.
Serial execution data output for ICSP and ICD operation.
Serial execution data input for ICSP and ICD operation.
WPUB3
INT1IE
ANS11
SLRD
RBIE
Bit 3
RB3
TMR0IF
TMR0IP
WPUB2
ANS10
SLRC
Bit 2
RB2
Description
WPUB1
INT0IF
INT2IF
SLRB
ANS9
© 2007 Microchip Technology Inc.
Bit 1
RB1
WPUB0
INT1IF
SLRA
ANS8
RBIF
RBIP
Bit 0
RB0
(3)
(3)
on page
Values
Reset
(3)
60
60
60
60
60
61
57
57
57
60

Related parts for PIC18F23K20-E/MLQTP