English
Language : 

PIC24F16KL402 Datasheet, PDF (40/260 Pages) Microchip Technology – Low-Power, Low-Cost, General Purpose 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
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
TRISA
02C0
—
—
—
—
—
—
—
—
PORTA 02C2
—
—
—
—
—
—
—
—
LATA
02C4
—
—
—
—
—
—
—
—
ODCA
02C6
—
—
—
—
—
—
—
—
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).
Bit 7(1)
Bit 6
Bit 5(2)
Bit 4
TRISA7 TRISA6
—
TRISA4
RA7
RA6
RA5
RA4
LATA7 LATA6
—
LATA4
ODA7 ODA6
—
ODA4
Bit 3
TRISA3
RA3
LATA3
ODA3
Bit 2
TRISA2
RA2
LATA2
ODA2
Bit 1
TRISA1
RA1
LATA1
ODA1
Bit 0
All
Resets
TRISA0
RA0
LATA0
ODA0
00DF
xxxx
xxxx
0000
TABLE 4-11: PORTB REGISTER MAP
File
Name
Addr
Bit 15
Bit 14 Bit 13(1) Bit 12(1) Bit 11(2) Bit 10(2)
Bit 9
TRISB 02C8 TRISB15 TRISB14 TRISB13 TRISB12 TRISB11 TRISB10 TRISB9
PORTB 02CA RB15
RB14
RB13
RB12
RB11
RB10
RB9
LATB
02CC LATB15 LATB14 LATB13 LATB12 LATB11 LATB10 LATB9
ODCB 02CE ODB15 ODB14 ODB13 ODB12 ODB11 ODB10 ODB9
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.
Bit 8
TRISB8
RB8
LATB8
ODB8
Bit 7(1)
TRISB7
RB7
LATB7
ODB7
Bit 6(2)
TRISB6
RB6
LATB6
ODB6
Bit 5(2)
TRISB5
RB5
LATB5
ODB5
Bit 4
TRISB4
RB4
LATB4
ODB4
Bit 3(2)
TRISB3
RB3
LATB3
ODB3
Bit 2(1)
TRISB2
RB2
LATB2
ODB2
Bit 1(1)
TRISB1
RB1
LATB1
ODB1
Bit 0
All
Resets
TRISB0
RB0
LATB0
ODB0
FFFF
xxxx
xxxx
0000
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
PADCFG1 02FC
—
—
—
—
SDO2DIS(1) SCK2DIS(1) SDO1DIS SCK1DIS
—
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’.
Bit 6
—
Bit 5
—
Bit 4
—
Bit 3
—
Bit 2
—
Bit 1
—
Bit 0
—
All
Resets
0000