# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# PIC24FJ32MC10X -- 10-Bit ADC

- 1
- 2
…
- 35
- 36
- 37
- 38
- 39
…
- 57
- 58

© 2010 Microchip Technology Inc. Preliminary DS39737A-page 49-37
Section 49. 10-Bit ADC with 4 Simultaneous Conversions
10-Bit ADC with
4 Simultaneous
Conversions
49
Table 49-12: Converting One Channel 16 Times Per ADC Interrupt
CONTROL BITS OPERATION SEQUENCE
Sequence Select Sample MUXA Inputs: AN0  CH0
SMPI<3:0> = 1111 Convert CH0, Write ADC1BUF0
Interrupt on 16th Sample Sample MUXA Inputs: AN0  CH0
CHPS<1:0> = 00 Convert CH0, Write ADC1BUF1
Sample Channel CH0 Sample MUXA Inputs: AN0  CH0
SIMSAM = N/A Convert CH0, Write ADC1BUF2
Not Applicable for Single Channel Sample Sample MUXA Inputs: AN0  CH0
BUFM = 0 Convert CH0, Write ADC1BUF3
Single 16-Word Result Buffer Sample MUXA Inputs: AN0  CH0
ALTS = 0 Convert CH0, Write ADC1BUF4
Always use MUXA Input Select Sample MUXA Inputs: AN0  CH0
MUXA Input Select Convert CH0, Write ADC1BUF5
CH0SA<3:0> = 0000 Sample MUXA Inputs: AN0  CH0
Select AN0 for CH0+ Input Convert CH0, Write ADC1BUF6
CH0NA = 0 Sample MUXA Inputs: AN0  CH0
Select AV
SS for CH0- Input Convert CH0, Write ADC1BUF7
CSCNA = 0 Sample MUXA Inputs: AN0  CH0
No Input Scan Convert CH0, Write ADC1BUF8
CSSL<15:0> = N/A Sample MUXA Inputs: AN0  CH0
Scan Input Select Unused Convert CH0, Write ADC1BUF9
CH123SA = N/A Sample MUXA Inputs: AN0  CH0
Channel CH1, CH2, CH3 + Input Unused Convert CH0, Write ADC1BUFA
CH123NA<1:0> = N/A Sample MUXA Inputs: AN0  CH0
Channel CH1, CH2, CH3 – Input Unused Convert CH0, Write ADC1BUFB
MUXB Input Select Sample MUXA Inputs: AN0  CH0
CH0SB<3:0> = N/A Convert CH0, Write ADC1BUFC
Channel CH0+ Input Unused Sample MUXA Inputs: AN0  CH0
CH0NB = N/A Convert CH0, Write ADC1BUFD
Channel CH0- Input Unused Sample MUXA Inputs: AN0  CH0
CH123SB = N/A Convert CH0, Write ADC1BUFE
Channel CH1, CH2, CH3 + Input Unused Sample MUXA Inputs: AN0  CH0
CH123NB<1:0> = N/A Convert CH0, Write ADC1BUFF
Channel CH1, CH2, CH3 – Input Unused ADC Interrupt
Repeat
ADC Buffer @ First ADC Interrupt ADC Buffer @ Second ADC Interrupt
ADC1BUF0 AN0 Sample 1 AN0 Sample 17
ADC1BUF1 AN0 Sample 2 AN0 Sample 18
ADC1BUF2 AN0 Sample 3 AN0 Sample 19
ADC1BUF3 AN0 Sample 4 AN0 Sample 20
ADC1BUF4 AN0 Sample 5 AN0 Sample 21
ADC1BUF5 AN0 Sample 6 AN0 Sample 22
ADC1BUF6 AN0 Sample 7 AN0 Sample 23
ADC1BUF7 AN0 Sample 8 AN0 Sample 24
ADC1BUF8 AN0 Sample 9 AN0 Sample 25
ADC1BUF9 AN0 Sample 10 AN0 Sample 26
ADC1BUFA AN0 Sample 11 AN0 Sample 27
ADC1BUFB AN0 Sample 12 AN0 Sample 28
ADC1BUFC AN0 Sample 13 AN0 Sample 29
ADC1BUFD AN0 Sample 14 AN0 Sample 30
ADC1BUFE AN0 Sample 15 AN0 Sample 31
ADC1BUFF AN0 Sample 16 AN0 Sample 32

- 1
- 2
…
- 35
- 36
- 37
- 38
- 39
…
- 57
- 58