Datasheet

Table Of Contents
PIC24FV32KA304 FAMILY
DS30009995E-page 45 2011-2017 Microchip Technology Inc.
TABLE 4-11: SPIx 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
SPI1STAT 0240 SPIEN
SPISIDL SPIBEC2 SPIBEC1 SPIBEC0 SRMPT SPIROV SR1MPT SISEL2 SISEL1 SISEL0 SPITBF SPIRBF 0000
SPI1CON1 0242
DISSCK DISSDO MODE16 SMP CKE SSEN CKP MSTEN SPRE2 SPRE1 SPRE0 PPRE1 PPRE0 0000
SPI1CON2 0244 FRMEN SPIFSD SPIFPOL
SPIFE SPIBEN 0000
SPI1BUF 0248 SPI1BUF 0000
SPI2STAT 0260 SPIEN
SPISIDL SPIBEC2 SPIBEC1 SPIBEC0 SRMPT SPIROV SRXMPT SISEL2 SISEL1 SISEL0 SPITBF SPIRBF 0000
SPI2CON1 0262
DISSCK DISSDO MODE16 SMP CKE SSEN CKP MSTEN SPRE2 SPRE1 SPRE0 PPRE1 PPRE0 0000
SPI2CON2 0264 FRMEN SPIFSD SPIFPOL
SPIFE SPIBEN 0000
SPI2BUF 0268 SPI2BUF 0000
Legend: — = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
TABLE 4-12: PORTA REGISTER MAP
File
Name
Addr Bit 15 Bit 14 Bit 13 Bit 12 Bit 11
(2,3)
Bit 10
(2,3)
Bit 9
(2,3)
Bit 8
(2,3)
Bit 7
(2)
Bit 6
(4)
Bit 5
(1)
Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
All
Resets
TRISA 02C0
TRISA<11:6> TRISA<4:0> 00DF
PORTA 02C2
—RA<11:0>xxxx
LATA 02C4
—LATA<11:6> —LATA<4:0>xxxx
ODCA 02C6
ODA<11:6> ODA<4:0> 0000
Legend: = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
Note 1: This bit is available only when MCLRE = 1.
2: These bits are not implemented in 20-pin devices.
3: These bits are not implemented in 28-pin devices.
4: These bits are not implemented in FV devices.
TABLE 4-13: PORTB REGISTER MAP
File
Name
Addr Bit 15 Bit 14 Bit 13 Bit 12 Bit 11
(1)
Bit 10
(1)
Bit 9 Bit 8 Bit 7 Bit 6
(1)
Bit 5
(1)
Bit 4 Bit 3
(1)
Bit 2 Bit 1 Bit 0
All
Resets
TRISB 02C8 TRISB<15:0> FFFF
PORTB 02CA RB<15:0> xxxx
LATB 02CC LATB<15:0> xxxx
ODCB 02CE ODB<15:0> 0000
Legend: — = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
Note 1: These bits are not implemented in 20-pin devices.