English
Language : 

PIC24F04KA201 Datasheet, PDF (35/224 Pages) Microchip Technology – 14/20-Pin General Purpose, 16-Bit Flash Microcontrollers with nanoWatt XLP™ Technology
TABLE 4-12: PORTA 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(1)
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
All
Resets
TRISA
PORTA
LATA
ODCA
Legend:
Note 1:
2:
3:
02C0
—
—
—
—
—
—
—
—
—
TRISA6
—
TRISA4 TRISA3(2,3) TRISA2(2) TRISA1 TRISA0
02C2
—
—
—
—
—
—
—
—
—
RA6
RA5
RA4
RA3(2,3)
RA2(2)
RA1
RA0
02C4
—
—
—
—
—
—
—
—
—
LATA6
—
LATA4 LATA3(2,3) LATA2(2) LATA1 LATA0
02C6
—
—
—
—
—
—
—
—
—
ODA6
—
ODA4 ODA3(2,3) ODA2(2) ODA1
ODA0
— = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
Bit available only when MCLRE = 0.
Bits are available only when the primary oscillator is disabled (POSCMD1:POSCMD0 = 00); otherwise read as ‘0’.
Bits are available only when the primary oscillator is disabled or EC mode is selected (POSCMD1:POSCMD0 = 00 or 11) and CLKO is disabled (OSCIOFNC = 0); otherwise read as ‘0’.
00DF
xxxx
xxxx
0000
TABLE 4-13: PORTB REGISTER MAP
File
Name
Addr
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
TRISB 02C8 TRISB15 TRISB14 TRISB13(1) TRISB12(1)
—
—
PORTB 02CA RB15
RB14
RB13(1)
RB12(1)
—
—
LATB 02CC LATB15 LATB14 LATB13(1) LATB12(1)
—
—
ODCB 02CE ODB15
ODB14 ODB13(1) ODB12(1)
—
—
Legend: — = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
Note 1: These bits are not implemented on 14-pin devices.
Bit 9
Bit 8
Bit 7
TRISB9
RB9
LATB9
ODB9
TRISB8
RB8
LATB8
ODB8
TRISB7
RB7
LATB7
ODB7
Bit 6
—
—
—
—
Bit 5
—
—
—
—
Bit 4
TRISB4
RB4
LATB4
ODB4
Bit 3
—
—
—
—
Bit 2
Bit 1
Bit 0
All
Resets
TRISB2(1) TRISB1(1) TRISB0(1)
RB2(1)
RB1(1)
RB0(1)
LATB2(1) LATB1(1) LATB0(1)
ODB2(1) ODB1(1) ODB(1)0
FFFF
xxxx
xxxx
0000
TABLE 4-14: PAD CONFIGURATION REGISTER MAP
File
Name
Addr Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
PADCFG1 02FC —
—
—
—
—
—
—
Legend: — = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
Bit 8
—
Bit 7
—
Bit 6
—
Bit 5
Bit 4
Bit 3
— SMBUSDEL OC1TRIS
Bit 2
—
Bit 1
—
Bit 0
—
All
Resets
0000