English
Language : 

PIC24FV16KM204 Datasheet, PDF (57/336 Pages) Microchip Technology – General Purpose, 16-Bit Flash Microcontroller with XLP Technology Data Sheet
TABLE 4-21: PORTA REGISTER MAP
File Name Addr. Bit 15 Bit 14 Bit 13 Bit 12 Bit 11(4,5) Bit 10(4,5) Bit 9(4,5) Bit 8(4,5) Bit 7(4) Bit 6(3)
Bit 5(2)
Bit 4
TRISA
PORTA
LATA
ODCA
Legend:
Note 1:
2:
3:
4:
5:
2C0h
—
—
—
—
TRISA11 TRISA10 TRISA9 TRISA8 TRISA7 TRISA6
—
TRISA4
2C2h
—
—
—
—
RA11
RA10
RA9
RA8
RA7
RA6
RA5
RA4
2C4h
—
—
—
—
LATA11 LATA10 LATA9 LATA8 LATA7 LATA6
—
LATA4
2C6h
—
—
—
—
ODA11 ODA10 ODA9 ODA8 ODA7 ODA6
—
ODA4
x = unknown, u = unchanged, — = unimplemented, q = value depends on condition, r = reserved. Bold indicates shared access SFRs.
Reset value depends on the device type; the PIC24F16KM204 value is shown.
These bits are only available when MCLRE (FPOR<7>) = 0.
These bits are not implemented in FV devices.
These bits are not implemented in 20-pin devices.
These bits are not implemented in 28-pin devices.
Bit 3
TRISA3
RA3
LATA3
ODA3
Bit 2
TRISA2
RA2
LATA2
ODA2
Bit 1
TRISA1
RA1
LATA1
ODA1
Bit 0
TRISA0
RA0
LATA0
ODA0
All
Resets
0FDF(1)
xxxx
xxxx
0000
TABLE 4-22: PORTB REGISTER MAP
File Name Addr.
Bit 15
Bit 14
Bit 13
Bit 12 Bit 11(2) Bit 10(2)
Bit 9
Bit 8
Bit 7
Bit 6(2) Bit 5(2)
TRISB
PORTB
LATB
ODCB
Legend:
Note 1:
2:
2C8h TRISB15 TRISB14 TRISB13 TRISB12 TRISB11 TRISB10 TRISB9 TRISB8 TRISB7 TRISB6 TRISB5
2CAh
RB15
RB14
RB13
RB12
RB11
RB10
RB9
RB8
RB7
RB6
RB5
2CCh LATB15 LATB14 LATB13 LATB12 LATB11 LATB10 LATB9 LATB8 LATB7 LATB6 LATB5
2CEh ODB15 ODB14 ODB13 ODB12 ODB11 ODB10 ODB9 ODB8 ODB7 ODB6 ODB5
x = unknown, u = unchanged, — = unimplemented, q = value depends on condition, r = reserved. Bold indicates shared access SFRs.
Reset value depends on the device type; the PIC24F16KM204 value is shown.
These bits are not implemented in 20-pin devices.
Bit 4
TRISB4
RB4
LATB4
ODB4
Bit 3(2) Bit 2
Bit 1
Bit 0
All
Resets
TRISB3
RB3
LATB3
ODB3
TRISB2
RB2
LATB2
ODB2
TRISB1 TRISB0
RB1
RB0
LATB1 LATB0
ODB1 ODB0
FFFF(1)
xxxx
xxxx
0000
TABLE 4-23: PORTC REGISTER MAP
File
Name
Addr. Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10 Bit 9(2,3) Bit 8(2,3) Bit 7(2,3) Bit 6(2,3) Bit 5(2,3) Bit 4(2,3) Bit 3(2,3) Bit 2(2,3)
TRISC
PORTC
LATTC
ODCC
Legend:
Note 1:
2:
3:
2D0h
—
—
—
—
—
—
TRISC9 TRISC8 TRISC7 TRISC6 TRISC5 TRISC4
2D2h
—
—
—
—
—
—
RC9
RC8
RC7
RC6
RC5
RC4
2D4h
—
—
—
—
—
—
LATC9 LATC8 LATC7 LATC6 LATC5 LATC4
2D6h
—
—
—
—
—
—
ODC9 ODC8 ODC7 ODC6 ODC5 ODC4
x = unknown, u = unchanged, — = unimplemented, q = value depends on condition, r = reserved. Bold indicates shared access SFRs.
Reset value depends on the device type; the PIC24F16KM204 value is shown.
These bits are not implemented in 20-pin devices.
These bits are not implemented in 28-pin devices.
TRISC3
RC3
LATC3
ODC3
TRISC2
RC2
LATC2
ODC2
Bit 1(2,3)
TRISC1
RC1
LATC1
ODC1
Bit 0(2,3)
TRISC0
RC0
LATC0
ODC0
All
Resets
03FF(1)
xxxx
xxxx
0000