
2011
Micr
ochip
T
e
ch
nol
ogy
I
n
c.
DS
31037B
-page
40
PIC24
F16KL
402
FAMILY
TABLE 4-10:
PORTA REGISTER MAP
File
Name
Addr
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
Bit 6
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
All
Resets
TRISA
02C0
—
TRISA7
TRISA6
—
TRISA4
TRISA3
TRISA2
TRISA1
TRISA0
00DF
PORTA
02C2
—
RA7
RA6
RA5
RA4
RA3
RA2
RA1
RA0
xxxx
LATA
02C4
—
—LATA7
LATA6
—
LATA4
LATA3
LATA2
LATA1
LATA0
xxxx
ODCA
02C6
—
—ODA7
ODA6
—
ODA4
ODA3
ODA2
ODA1
ODA0
0000
Legend:
— = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
Note 1:
These ports and their associated bits are unimplemented on 14-pin and 20-pin devices; read as ‘0’.
2:
PORTA<5> is unavailable when MCLR functionality is enabled (MCLRE Configuration bit = 1).
TABLE 4-11:
PORTB REGISTER MAP
File
Name
Addr
Bit 15
Bit 14
Bit 9
Bit 8
Bit 4
Bit 0
All
Resets
TRISB
02C8
TRISB15 TRISB14 TRISB13 TRISB12 TRISB11 TRISB10
TRISB9
TRISB8
TRISB7
TRISB6
TRISB5
TRISB4
TRISB3
TRISB2
TRISB1
TRISB0
FFFF
PORTB
02CA
RB15
RB14
RB13
RB12
RB11
RB10
RB9
RB8
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
xxxx
LATB
02CC
LATB15
LATB14
LATB13
LATB12
LATB11
LATB10
LATB9
LATB8
LATB7
LATB6
LATB5
LATB4
LATB3
LATB2
LATB1
LATB0
xxxx
ODCB
02CE
ODB15
ODB14
ODB13
ODB12
ODB11
ODB10
ODB9
ODB8
ODB7
ODB6
ODB5
ODB4
ODB3
ODB2
ODB1
ODB0
0000
Legend:
— = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
Note 1:
These ports and their associated bits are unimplemented on 14-pin and 20-pin devices.
2:
These ports and their associated bits are unimplemented in 14-pin devices.
TABLE 4-12:
PAD CONFIGURATION REGISTER MAP
File
Name
Addr
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
All
Resets
PADCFG1 02FC
—
SDO2DIS(1) SCK2DIS(1) SDO1DIS SCK1DIS —
0000
Legend:
— = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
Note 1:
These bits are unimplemented on PIC24FXXKL10X and PIC24FXXKL20X family devices; read as ‘0’.