Specifications
dsPIC33F Family Reference Manual
DS70183A-page 16-50 © 2006 Microchip Technology Inc.
16.16 READING THE ADC RESULT BUFFER
The RAM is 10-bits or 12-bits wide, but the data is automatically formatted to one of four select-
able formats when the buffer is read. The FORM<1:0> bits (ADCON1<9:8>) select the format.
The formatting hardware provides a 16-bit result on the data bus for all of the data formats.
Figure 16-25 and Figure 16-26 show the data output formats that can be selected using the
FORM<1:0> control bits.
Figure 16-25: A/D Output Data Formats (10-bit Mode)
Figure 16-26: A/D Output Data Formats (12-bit Mode)
RAM Contents: d09 d08 d07 d06 d05 d04 d03 d02 d01 d00
Read to Bus:
Integer 000000d09d08d07d06d05d04d03d02d01d00
Signed Integer d09 d09 d09 d09 d09 d09 d09 d08 d07 d06 d05 d04 d03 d02 d01 d00
Fractional (1.15) d09d08d07d06d05d04d03d02d01d00000000
Signed Fractional (1.15) d09d08d07d06d05d04d03d02d01d00000000
RAM Contents: d11 d10 d09 d08 d07 d06 d05 d04 d03 d02 d01 d00
Read to Bus:
Integer 0 0 0 0 d11 d10 d09 d08 d07 d06 d05 d04 d03 d02 d01 d00
Signed Integer d11 d11 d11 d11 d11 d10 d09 d08 d07 d06 d05 d04 d03 d02 d01 d00
Fractional d11d10d09d08d07d06d05d04d03d02d01d000000
Signed Fractional (1.15) d11d10d09d08d07d04d03d02d01d00d01d000000