PIC32MM0128GPM048 ADC registers

The 30 registers of ADC (Analog-to-digital converter), from 0xBF802100, with their reset value and every field. The PIC32MM0128GPM048 has 433 registers in 53 peripherals, one page each.

Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.

ADC Analog-to-digital converter

ADC1BUF0

Address
0xBF802100
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF1

Address
0xBF802110
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF2

Address
0xBF802120
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF3

Address
0xBF802130
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF4

Address
0xBF802140
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF5

Address
0xBF802150
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF6

Address
0xBF802160
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF7

Address
0xBF802170
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF8

Address
0xBF802180
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF9

Address
0xBF802190
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF10

Address
0xBF8021A0
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF11

Address
0xBF8021B0
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF12

Address
0xBF8021C0
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF13

Address
0xBF8021D0
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF14

Address
0xBF8021E0
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF15

Address
0xBF8021F0
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF16

Address
0xBF802200
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF17

Address
0xBF802210
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF18

Address
0xBF802220
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF19

Address
0xBF802230
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF20

Address
0xBF802240
Reset
0x00000000
Access
read/write
Size
32-bit

ADC1BUF21

Address
0xBF802250
Reset
0x00000000
Access
read/write
Size
32-bit

AD1CON1ADC Control Register 1

Address
0xBF802260
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
ON15ADC Operating Mode bit
  • 0 ADC module is not operating
  • 1 ADC module is operating
SIDL13Stop in Idle Mode bit
  • 0 Continue module operation in Idle mode
  • 1 Discontinue module operation when device enters Idle mode
FORM10:8Data Output Format bits
  • 0 Integer 16-bit
  • 1 Signed Integer 16-bit
  • 2 Fractional 16-bit
  • 3 Signed Fractional 16-bit
  • 4 Integer 32-bit
  • 5 Signed Integer 32-bit
  • 6 Fractional 32-bit
  • 7 Signed Fractional 32-bit
SSRC7:4Conversion Trigger Source Select bits
  • 0 Clearing SAMP bit ends sampling and starts conversion
  • 1 Active transition on INT0 pin ends sampling and starts conversion
  • 2 Timer 3 period match ends sampling and starts conversion
  • 5 Timer1 period match ends sampling and starts conversion (will not trigger during Sleep mode)
  • 6 Timer1 period match ends sampling and starts conversion (can trigger during Sleep mode)
  • 7 Internal counter ends sampling and starts conversion (auto convert)
  • 8 MCCP1 module event ends sampling and starts conversion
  • 9 MCCP2 module event ends sampling and starts conversion
  • 10 MCCP3 module event ends sampling and starts conversion
  • 11 SCCP4 module event ends sampling and starts conversion
  • 12 SCCP5 module event ends sampling and starts conversion
  • 13 SCCP6 module event ends sampling and starts conversion
  • 14 CLC1 module event ends sampling and starts conversion
  • 15 CLC2 module event ends sampling and starts conversion
MODE123ADC Operation Mode
  • 0 10-bit ADC operation
  • 1 12-bit ADC operation
ASAM2ADC Sample Auto-Start bit
  • 0 Sampling begins when SAMP bit is set
  • 1 Sampling begins immediately after last conversion completes; SAMP bit is automatically set.
SAMP1ADC Sample Enable bit
  • 0 The ADC sample/hold amplifier is holding
  • 1 The ADC sample and hold amplifier is sampling
DONE0Analog-to-Digital Conversion Status bit
  • 0 Analog-to-digital conversion is not done or has not started
  • 1 Analog-to-digital conversion is done

AD1CON2

Address
0xBF802270
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
FieldBitsWhat it does
VCFG15:13Voltage Reference Configuration bits
  • 0 VREFH is AVDD and VREFL is AVSS
  • 1 VREFH is AVDD and VREFL is External VREF- pin
  • 2 VREFH is External VREF + pin and VREFL is AVSS
  • 3 VREFH is External VREF+ pin and VREFL is External VREF- pin
OFFCAL12Input Offset Calibration Mode Select bit
  • 0 Disable Offset Calibration mode; The inputs to the sample and hold amplifier are controlled by AD1CHS or AD1CSS
  • 1 Enable Offset Calibration mode; Positive and negative inputs of the sample and hold amplifier are connected to negative reference
BUFREGEN11
CSCNA10Input Scan Select bit
  • 0 Do not scan inputs
  • 1 Scan inputs
BUFS7Buffer Fill Status bit
  • 0 ADC is currently filling buffer 0-10; user should access data in 11-21
  • 1 ADC is currently filling buffer 11-21; user should access data in 0-10
SMPI6:2Sample/Convert Sequences Per Interrupt Selection bits
  • 0 Interrupts at the completion of conversion for each sample/convert sequence
  • 1 Interrupts at the completion of conversion for each 2nd sample/convert sequence
  • 2 Interrupts at the completion of conversion for each 3rd sample/convert sequence
  • 3 Interrupts at the completion of conversion for each 4th sample/convert sequence
  • 4 Interrupts at the completion of conversion for each 5th sample/convert sequence
  • 5 Interrupts at the completion of conversion for each 6th sample/convert sequence
  • 6 Interrupts at the completion of conversion for each 7th sample/convert sequence
  • 7 Interrupts at the completion of conversion for each 8th sample/convert sequence
  • 8 Interrupts at the completion of conversion for each 9th sample/convert sequence
  • 9 Interrupts at the completion of conversion for each 10th sample/convert sequence
  • 10 Interrupts at the completion of conversion for each 11th sample/convert sequence
  • 11 Interrupts at the completion of conversion for each 12th sample/convert sequence
  • 12 Interrupts at the completion of conversion for each 13th sample/convert sequence
  • 13 Interrupts at the completion of conversion for each 14th sample/convert sequence
  • 14 Interrupts at the completion of conversion for each 15th sample/convert sequence
  • 15 Interrupts at the completion of conversion for each 16th sample/convert sequence
BUFM1ADC Result Buffer Mode Select bit
  • 0 Buffer configured as one 22-word buffer ADC1BUF21-ADC1BUF0
  • 1 Buffer configured as two 11-word buffers ADC1BUF10-ADC1BUF0 / ADC1BUF21-ADCBUF11

AD1CON3

Address
0xBF802280
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
FieldBitsWhat it does
ADRC15ADC Conversion Clock Source bit
  • 0 Clock derived from Peripheral Bus Clock (PBCLK)
  • 1 Clock derived from FRC
EXTSAM14Extended Sampling Time bit
  • 0 ADC stops sampling when SAMP bit = 0
  • 1 ADC is still sampling after SAMP bit = 0
SAMC12:8Auto-Sample Time bits
  • 1 1 TAD
  • 2 2 TAD
  • 3 3 TAD
  • 4 4 TAD
  • 5 5 TAD
  • 6 6 TAD
  • 7 7 TAD
  • 8 8 TAD
  • 9 9 TAD
  • 10 10 TAD
  • 11 11 TAD
  • 12 12 TAD
  • 13 13 TAD
  • 14 14 TAD
  • 15 15 TAD
  • 16 16 TAD
  • 17 17 TAD
  • 18 18 TAD
  • 19 19 TAD
  • 20 20 TAD
  • 21 21 TAD
  • 22 22 TAD
  • 23 23 TAD
  • 24 24 TAD
  • 25 25 TAD
  • 26 26 TAD
  • 27 27 TAD
  • 28 28 TAD
  • 29 29 TAD
  • 30 30 TAD
  • 31 31 TAD
ADCS7:0ADC Conversion Clock Select bits
  • 0 1*TPB
  • 1 2*TPB
  • 2 4*TPB
  • 3 6*TPB
  • 4 8*TPB
  • 5 10*TPB
  • 6 12*TPB
  • 7 14*TPB
  • 8 16*TPB
  • 9 18*TPB
  • 10 20*TPB
  • 11 22*TPB
  • 12 24*TPB
  • 13 26*TPB
  • 14 28*TPB
  • 15 30*TPB
  • 16 32*TPB
  • 17 34*TPB
  • 18 36*TPB
  • 19 38*TPB
  • 20 40*TPB
  • 21 42*TPB
  • 22 44*TPB
  • 23 46*TPB
  • 24 48*TPB
  • 25 50*TPB
  • 26 52*TPB
  • 27 54*TPB
  • 28 56*TPB
  • 29 58*TPB
  • 30 60*TPB
  • 31 62*TPB
  • 32 64*TPB
  • 33 66*TPB
  • 34 68*TPB
  • 35 70*TPB
  • 36 72*TPB
  • 37 74*TPB
  • 38 76*TPB
  • 39 78*TPB
  • 40 80*TPB
  • 41 82*TPB
  • 42 84*TPB
  • 43 86*TPB
  • 44 88*TPB
  • 45 90*TPB
  • 46 92*TPB
  • 47 94*TPB
  • 48 96*TPB
  • 49 98*TPB
  • 50 100*TPB
  • 51 102*TPB
  • 52 104*TPB
  • 53 106*TPB
  • 54 108*TPB
  • 55 110*TPB
  • 56 112*TPB
  • 57 114*TPB
  • 58 116*TPB
  • 59 118*TPB
  • 60 120*TPB
  • 61 122*TPB
  • 62 124*TPB
  • 63 126*TPB
  • 64 128*TPB
  • 65 130*TPB
  • 66 132*TPB
  • 67 134*TPB
  • 68 136*TPB
  • 69 138*TPB
  • 70 140*TPB
  • 71 142*TPB
  • 72 144*TPB
  • 73 146*TPB
  • 74 148*TPB
  • 75 150*TPB
  • 76 152*TPB
  • 77 154*TPB
  • 78 156*TPB
  • 79 158*TPB
  • 80 160*TPB
  • 81 162*TPB
  • 82 164*TPB
  • 83 166*TPB
  • 84 168*TPB
  • 85 170*TPB
  • 86 172*TPB
  • 87 174*TPB
  • 88 176*TPB
  • 89 178*TPB
  • 90 180*TPB
  • 91 182*TPB
  • 92 184*TPB
  • 93 186*TPB
  • 94 188*TPB
  • 95 190*TPB
  • 96 192*TPB
  • 97 194*TPB
  • 98 196*TPB
  • 99 198*TPB
  • 100 200*TPB
  • 101 202*TPB
  • 102 204*TPB
  • 103 206*TPB
  • 104 208*TPB
  • 105 210*TPB
  • 106 212*TPB
  • 107 214*TPB
  • 108 216*TPB
  • 109 218*TPB
  • 110 220*TPB
  • 111 222*TPB
  • 112 224*TPB
  • 113 226*TPB
  • 114 228*TPB
  • 115 230*TPB
  • 116 232*TPB
  • 117 234*TPB
  • 118 236*TPB
  • 119 238*TPB
  • 120 240*TPB
  • 121 242*TPB
  • 122 244*TPB
  • 123 246*TPB
  • 124 248*TPB
  • 125 250*TPB
  • 126 252*TPB
  • 127 254*TPB
  • 128 256*TPB
  • 129 258*TPB
  • 130 260*TPB
  • 131 262*TPB
  • 132 264*TPB
  • 133 266*TPB
  • 134 268*TPB
  • 135 270*TPB
  • 136 272*TPB
  • 137 274*TPB
  • 138 276*TPB
  • 139 278*TPB
  • 140 280*TPB
  • 141 282*TPB
  • 142 284*TPB
  • 143 286*TPB
  • 144 288*TPB
  • 145 290*TPB
  • 146 292*TPB
  • 147 294*TPB
  • 148 296*TPB
  • 149 298*TPB
  • 150 300*TPB
  • 151 302*TPB
  • 152 304*TPB
  • 153 306*TPB
  • 154 308*TPB
  • 155 310*TPB
  • 156 312*TPB
  • 157 314*TPB
  • 158 316*TPB
  • 159 318*TPB
  • 160 320*TPB
  • 161 322*TPB
  • 162 324*TPB
  • 163 326*TPB
  • 164 328*TPB
  • 165 330*TPB
  • 166 332*TPB
  • 167 334*TPB
  • 168 336*TPB
  • 169 338*TPB
  • 170 340*TPB
  • 171 342*TPB
  • 172 344*TPB
  • 173 346*TPB
  • 174 348*TPB
  • 175 350*TPB
  • 176 352*TPB
  • 177 354*TPB
  • 178 356*TPB
  • 179 358*TPB
  • 180 360*TPB
  • 181 362*TPB
  • 182 364*TPB
  • 183 366*TPB
  • 184 368*TPB
  • 185 370*TPB
  • 186 372*TPB
  • 187 374*TPB
  • 188 376*TPB
  • 189 378*TPB
  • 190 380*TPB
  • 191 382*TPB
  • 192 384*TPB
  • 193 386*TPB
  • 194 388*TPB
  • 195 390*TPB
  • 196 392*TPB
  • 197 394*TPB
  • 198 396*TPB
  • 199 398*TPB
  • 200 400*TPB
  • 201 402*TPB
  • 202 404*TPB
  • 203 406*TPB
  • 204 408*TPB
  • 205 410*TPB
  • 206 412*TPB
  • 207 414*TPB
  • 208 416*TPB
  • 209 418*TPB
  • 210 420*TPB
  • 211 422*TPB
  • 212 424*TPB
  • 213 426*TPB
  • 214 428*TPB
  • 215 430*TPB
  • 216 432*TPB
  • 217 434*TPB
  • 218 436*TPB
  • 219 438*TPB
  • 220 440*TPB
  • 221 442*TPB
  • 222 444*TPB
  • 223 446*TPB
  • 224 448*TPB
  • 225 450*TPB
  • 226 452*TPB
  • 227 454*TPB
  • 228 456*TPB
  • 229 458*TPB
  • 230 460*TPB
  • 231 462*TPB
  • 232 464*TPB
  • 233 466*TPB
  • 234 468*TPB
  • 235 470*TPB
  • 236 472*TPB
  • 237 474*TPB
  • 238 476*TPB
  • 239 478*TPB
  • 240 480*TPB
  • 241 482*TPB
  • 242 484*TPB
  • 243 486*TPB
  • 244 488*TPB
  • 245 490*TPB
  • 246 492*TPB
  • 247 494*TPB
  • 248 496*TPB
  • 249 498*TPB
  • 250 500*TPB
  • 251 502*TPB
  • 252 504*TPB
  • 253 506*TPB
  • 254 508*TPB
  • 255 510*TPB

AD1CHS

Address
0xBF802290
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
CH0NA7:5Negative Input Select bit
  • 0 Negative input is AVSS
CH0SA4:0Positive Input Select bits
  • 0 Positive input is AN0
  • 1 Positive input is AN1
  • 2 Positive input is AN2
  • 3 Positive input is AN3
  • 4 Positive input is AN4
  • 5 Positive input is AN5
  • 6 Positive input is AN6
  • 7 Positive input is AN7
  • 8 Positive input is AN8
  • 9 Positive input is AN9
  • 10 Positive input is AN10
  • 11 Positive input is AN11
  • 12 Positive input is AN12
  • 13 Positive input is AN13
  • 14 Positive input is AN14
  • 15 Positive input is AN15
  • 16 Positive input is AN16
  • 17 Positive input is AN17
  • 18 Positive input is AN18
  • 19 Positive input is AN19
  • 27 Positive input is VDD Core
  • 28 Positive input is Band Gape Reference (VBG)
  • 29 Positive input is AVSS
  • 30 Positive input is AVDD

AD1CSS

Address
0xBF8022A0
Reset
0x00000000
Access
read/write
Size
32-bit
32 fields
FieldBitsWhat it does
CSS3030AVDD Scan Selection bits
  • 0 Skip AVDD for input scan; CSS30 = AVDD
  • 1 Select AVDD for input scan; CSS30 = AVDD
CSS2929AVSS Scan Selection bits
  • 0 Skip AVSS for input scan; CSS29 = AVSS
  • 1 Select AVSS for input scan; CSS29 = AVSS
CSS2828VBG Scan Selection bits
  • 0 Skip VBG for input scan; CSS28 = VBG
  • 1 Select VBG for input scan; CSS28 = VBG
CSS2727VDDCORE Scan Selection bits
  • 0 Skip VDDCORE for input scan; CSS27 = VDDCORE
  • 1 Select VDDCORE for input scan; CSS27 = VDDCORE
CSS2626
CSS2525
CSS2424
CSS2323
CSS2222
CSS2121
CSS2020
CSS1919AN19 Pin Scan Selection bits
  • 0 Skip AN19 for input scan; CSS19 = AN19
  • 1 Select AN19 for input scan; CSS19 = AN19
CSS1818AN18 Pin Scan Selection bits
  • 0 Skip AN18 for input scan; CSS18 = AN18
  • 1 Select AN18 for input scan; CSS18 = AN18
CSS1717AN17 Pin Scan Selection bits
  • 0 Skip AN17 for input scan; CSS17 = AN17
  • 1 Select AN17 for input scan; CSS17 = AN17
CSS1616AN16 Pin Scan Selection bits
  • 0 Skip AN16 for input scan; CSS16 = AN16
  • 1 Select AN16 for input scan; CSS16 = AN16
CSS1515AN15 Pin Scan Selection bits
  • 0 Skip AN15 for input scan; CSS15 = AN15
  • 1 Select AN15 for input scan; CSS15 = AN15
CSS1414AN14 Pin Scan Selection bits
  • 0 Skip AN14 for input scan; CSS14 = AN14
  • 1 Select AN14 for input scan; CSS14 = AN14
CSS1313AN13 Pin Scan Selection bits
  • 0 Skip AN13 for input scan; CSS13 = AN13
  • 1 Select AN13 for input scan; CSS13 = AN13
CSS1212AN12 Pin Scan Selection bits
  • 0 Skip AN12 for input scan; CSS12 = AN12
  • 1 Select AN12 for input scan; CSS12 = AN12
CSS1111AN11 Pin Scan Selection bits
  • 0 Skip AN11 for input scan; CSS11 = AN11
  • 1 Select AN11 for input scan; CSS11 = AN11
CSS1010AN10 Pin Scan Selection bits
  • 0 Skip AN10 for input scan; CSS10 = AN10
  • 1 Select AN10 for input scan; CSS10 = AN10
CSS99AN9 Pin Scan Selection bits
  • 0 Skip AN9 for input scan; CSS9 = AN9
  • 1 Select AN9 for input scan; CSS9 = AN9
CSS88AN8 Pin Scan Selection bits
  • 0 Skip AN8 for input scan; CSS8 = AN8
  • 1 Select AN8 for input scan; CSS8 = AN8
CSS77AN7 Pin Scan Selection bits
  • 0 Skip AN7 for input scan; CSS7 = AN7
  • 1 Select AN7 for input scan; CSS7 = AN7
CSS66AN6 Pin Scan Selection bits
  • 0 Skip AN6 for input scan; CSS6 = AN6
  • 1 Select AN6 for input scan; CSS6 = AN6
CSS55AN5 Pin Scan Selection bits
  • 0 Skip AN5 for input scan; CSS5 = AN5
  • 1 Select AN5 for input scan; CSS5 = AN5
CSS44AN4 Pin Scan Selection bits
  • 0 Skip AN4 for input scan; CSS4 = AN4
  • 1 Select AN4 for input scan; CSS4 = AN4
CSS33AN3 Pin Scan Selection bits
  • 0 Skip AN3 for input scan; CSS3 = AN3
  • 1 Select AN3 for input scan; CSS3 = AN3
CSS22AN2 Pin Scan Selection bits
  • 0 Skip AN2 for input scan; CSS2 = AN2
  • 1 Select AN2 for input scan; CSS2 = AN2
CSS11AN1 Pin Scan Selection bits
  • 0 Skip AN1 for input scan; CSS1 = AN1
  • 1 Select AN1 for input scan; CSS1 = AN1
CSS00AN0 Pin Scan Selection bits
  • 0 Skip AN0 for input scan; CSS0 = AN0
  • 1 Select AN0 for input scan; CSS0 = AN0
CSS3131

AD1CON5

Address
0xBF8022C0
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
FieldBitsWhat it does
ASEN15
LPEN14
BGREQ12
ASINT9:8
WM3:2
CM1:0Compare mode bits
  • 0 Less Than mode
  • 1 Greater Than mode
  • 2 Inside Window mode
  • 3 Outside Window mode

AD1CHIT

Address
0xBF8022D0
Reset
0x00000000
Access
read/write
Size
32-bit
20 fields
FieldBitsWhat it does
CHH1919
CHH1818
CHH1717
CHH1616
CHH1515
CHH1414
CHH1313
CHH1212
CHH1111
CHH1010
CHH99
CHH88
CHH77
CHH66
CHH55
CHH44
CHH33
CHH22
CHH11
CHH00

ANCFG

Address
0xBF802910
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
BGADC2
BGCMP1