English
Language : 

PIC24F04KA201 Datasheet, PDF (34/224 Pages) Microchip Technology – 14/20-Pin General Purpose, 16-Bit Flash Microcontrollers with nanoWatt XLP™ Technology
TABLE 4-9: I2C™ REGISTER MAP
File Name Addr Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9
Bit 8
I2C1RCV
I2C1TRN
I2C1BRG
I2C1CON
I2C1STAT
I2C1ADD
I2C1MSK
Legend:
0200
—
—
—
—
—
—
0202
—
—
—
—
—
—
0204
—
—
—
—
—
—
0206 I2CEN
— I2CSIDL SCLREL IPMIEN A10M
0208 ACKSTAT TRSTAT —
—
—
BCL
020A
—
—
—
—
—
—
020C
—
—
—
—
—
—
— = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
—
—
—
DISSLW
GCSTAT
AMSK9
—
—
SMEN
ADD10
AMSK8
Bit 7
GCEN
IWCOL
AMSK7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
I2C1 Receive Register
I2C1 Transmit Register
I2C1 Baud Rate Generator Register
STREN ACKDT ACKEN RCEN PEN
I2COV
D/A
P
S
R/W
I2C1 Address Register
AMSK6 AMSK5 AMSK4 AMSK3 AMSK2
Bit 1
RSEN
RBF
AMSK1
Bit 0
All
Resets
SEN
TBF
AMSK0
0000
00FF
0000
1000
0000
0000
0000
TABLE 4-10: UART 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
U1MODE 0220 UARTEN —
USIDL IREN RTSMD
—
UEN1 UEN0 WAKE
LPBACK
U1STA
0222 UTXISEL1 UTXINV UTXISEL0 — UTXBRK UTXEN UTXBF TRMT URXISEL1 URXISEL0
U1TXREG 0224
—
—
—
—
—
—
—
U1RXREG 0226
—
—
—
—
—
—
—
U1BRG 0228
Baud Rate Generator Prescaler Register
Legend: — = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
ABAUD RXINV BRGH
ADDEN RIDLE PERR
UART1 Transmit Register
UART1 Receive Register
Bit 2
Bit 1
Bit 0
All
Resets
PDSEL1 PDSEL0 STSEL
FERR OERR URXDA
0000
0110
0000
0000
0000
TABLE 4-11: SPI 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
SPI1STAT
SPI1CON1
SPI1CON2
SPI1BUF
Legend:
0240 SPIEN
—
SPISIDL
—
— SPIBEC2 SPIBEC1 SPIBEC0 SRMPT SPIROV SRXMPT
0242
—
—
—
DISSCK DISSDO MODE16 SMP
CKE
SSEN
CKP MSTEN
0244 FRMEN SPIFSD SPIFPOL —
—
—
—
—
—
—
—
0248
SPI1 Transmit/Receive Buffer
— = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
SISEL2
SPRE2
—
Bit 3
SISEL1
SPRE1
—
Bit 2
SISEL0
SPRE0
—
Bit 1
SPITBF
PPRE1
SPIFE
Bit 0
All
Resets
SPIRBF
PPRE0
SPIBEN
0000
0000
0000
0000