Datasheet
PIC32MZ Embedded Connectivity with Floating Point Unit (EF) Family
DS60001320B-page 482 Preliminary 2015 Microchip Technology Inc.
REGISTER 28-32: ADCANCON: ADC ANALOG WARM-UP CONTROL REGISTER
Bit Range
Bit
31/23/15/7
Bit
30/22/14/6
Bit
29/21/13/5
Bit
28/20/12/4
Bit
27/19/11/3
Bit
26/18/10/2
Bit
25/17/9/1
Bit
24/16/8/0
31:24
U-0 U-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0
— — — — WKUPCLKCNT<3:0>
23:16
R/W-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
WKIEN7 — — WKIEN4 WKIEN3 WKIEN2 WKIEN1 WKIEN0
15:8
R-0, HS, HC U-0 U-0 R-0, HS, HC R-0, HS, HC R-0, HS, HC R-0, HS, HC R-0, HS, HC
WKRDY7 — — WKRDY4 WKRDY3 WKRDY2 WKRDY1 WKRDY0
7:0
R/W-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
ANEN7 — — ANEN4 ANEN3 ANEN2 ANEN1 ANEN0
Legend: HS = Hardware Set HC = Hardware Cleared
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 31-28 Unimplemented: Read as ‘0’
bit 27-24 WKUPCLKCNT<3:0>: Wake-up Clock Count bits
These bits represent the number of ADC clocks required to warm-up the ADC module before it can
perform conversion. Although the clocks are specific to each ADC, the WKUPCLKCNT bit is common to
all ADC modules.
1111 = 2
15
= 32,768 clocks
•
•
•
0110 = 2
6
= 64 clocks
0101 = 2
5
= 32 clocks
0100 = 2
4
= 16 clocks
0011 = 2
4
= 16 clocks
0010 = 2
4
= 16 clocks
0001 = 2
4
= 16 clocks
0000 = 2
4
= 16 clocks
bit 23 WKIEN7: Shared ADC (ADC7) Wake-up Interrupt Enable bit
1 = Enable interrupt and generate interrupt when the WKRDY7 status bit is set
0 = Disable interrupt
bit 22-21 Unimplemented: Read as ‘0’
bit 20-16 WKIEN4:WKIEN0: ADC4-ADC0 Wake-up Interrupt Enable bit
1 = Enable interrupt and generate interrupt when the WKRDYx status bit is set
0 = Disable interrupt
bit 15 WKRDY7: Shared ADC (ADC7) Wake-up Status bit
1 = ADC7 Analog and Bias circuitry ready after the wake-up count number 2
WKUPEXP
clocks after setting
ANEN7 to ‘1’
0 = ADC7 Analog and Bias circuitry is not ready
Note: This bit is cleared by hardware when the ANEN7 bit is cleared
bit 14-13 Unimplemented: Read as ‘0’
bit 12-8 WKRDY4:WKRDY0: ADC4-ADC0 Wake-up Status bit
1 = ADCx Analog and Bias circuitry ready after the wake-up count number 2
WKUPEXP
clocks after setting
ANENx to ‘1’
0 = ADCx Analog and Bias circuitry is not ready
Note: These bits are cleared by hardware when the ANENx bit is cleared