Datasheet

PIC24F16KL402 FAMILY
DS30001037C-page 41 2011-2013 Microchip Technology Inc.
TABLE 4-13: A/D 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
ADC1BUF0 0300 A/D Buffer 0 xxxx
ADC1BUF1 0302
A/D Buffer 1
xxxx
AD1CON1 0320 ADON
—ADSIDL FORM1 FORM0 SSRC2 SSRC1 SSRC0 ASAM SAMP DONE 0000
AD1CON2 0322 VCFG2 VCFG1 VCFG0 OFFCAL
—CSCNA r SMPI3 SMPI2 SMPI1 SMPI0 rALTS0000
AD1CON3 0324 ADRC EXTSAM PUMPEN SAMC4 SAMC3 SAMC2 SAMC1 SAMC0
ADCS5 ADCS4 ADCS3 ADCS2 ADCS1 ADCS0 0000
AD1CHS 0328 CH0NB
CH0SB3 CH0SB2 CH0SB1 CH0SB0 CH0NA CH0SA3 CH0SA2 CH0SA1 CH0SA0 0000
AD1CSSL 0330 CSSL15 CSSL14 CSSL13 CSSL12
(1)
CSSL11
(1)
CSSL10 CSSL9 CSSL8 CSSL7 CSSL6 CSSL4
(1)
CSSL3
(1)
CSSL2
(1)
CSSL1 CSSL0 0000
Legend: — = unimplemented, read as ‘0’, r = reserved bit. Reset values are shown in hexadecimal.
Note 1: These bits are unimplemented in 14-pin devices; read as ‘0’.
TABLE 4-14: ANALOG SELECT 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
ANCFG 04DE
VBGEN 0000
ANSA 04E0
ANSA3 ANSA2 ANSA1 ANSA0 000F
ANSB 04E2 ANSB15 ANSB14 ANSB13 ANSB12
(1)
ANSB4 ANSB3
(2)
ANSB2
(1)
ANSB1
(1)
ANSB0
(1)
F01F
(3)
Legend: — = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
Note 1: These bits are unimplemented in 14-pin devices; read as ‘0’.
2: These bits are unimplemented in 14-pin and 20-pin devices; read as ‘0
3: Reset value for 28-pin devices is shown.
TABLE 4-15: COMPARATOR 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
CMSTAT 0630 CMIDL
C2EVT
(1)
C1EVT —C2OUTC1OUTxxxx
CVRCON 0632
CVREN CVROE CVRSS CVR4 CVR3 CVR2 CVR1 CVR0 0000
CM1CON 0634 CON COE CPOL CLPWR
CEVT COUT EVPOL1 EVPOL0 CREF CCH1 CCH0 xxxx
CM2CON
(1)
0636 CON COE CPOL CLPWR CEVT COUT EVPOL1 EVPOL0 CREF CCH1 CCH0 0000
Legend: — = unimplemented, read as ‘0’. Reset values are shown in hexadecimal.
Note 1: These bits and/or registers are unimplemented in PIC24FXXKL10X/20X devices; read as ‘0’.