# Vault 7: Projects

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

### Protego

# PIC24FJ32MC10X -- 10-Bit ADC

- 1
- 2
…
- 20
- 21
- 22
- 23
- 24
…
- 57
- 58

PIC24F Family Reference Manual
DS39737A-page 49-22 Preliminary © 2010 Microchip Technology Inc.
49.4.3 Output Data Format Selection
Figure 49-13 illustrates that the ADC result is available in four different numerical formats. The
Data Output Format bits (FORM<1:0>) in the ADC Control Register 1 (ADxCON1<9:8>) select
the output data format. Table 49-6 lists the ADC output format for different bit settings.
Table 49-6: Voltage Reference Selection
Figure 49-13: ADC Output Format
FORM<1:0> Data Information Selection
11 Signed Fractional Format
10 Unsigned Fractional format
01 Signed Integer format
00 Unsigned Integer format
0000 0000 0000 0000 (0)
0000 0011 1111 1111 (1023)
0000 0010 0000 0000
(512)
1111 1110 0000 0000 (-512)
0000 0001 1111 1111 (511)
0000 0000 0000 0000 (0)
10-Bit ADC
FORM = 0b00
Unsigned
Integer
FORM = 0b01
Signed
Integer
0000 0000 0000 0000 (0)
1111 1111 1100 0000 (+0.999)
1000 0000 0000 0000 (0.5)
1000 0000 0000 0000 (-1)
0111 1111 1100 0000 (+0.999)
0000 0000 0000 0000 (0)
FORM = 0b10
Unsigned
Fraction (Q16)
FORM = 0b11
Signed
Fraction (Q15)
AVDD AVss Input
AVDD AVss Input
AVDD AVss Input
AVDD AVss Input

- 1
- 2
…
- 20
- 21
- 22
- 23
- 24
…
- 57
- 58