chap11/adc7scan1.c File Reference

#include "pic24_all.h"
#include "stdio.h"

Go to the source code of this file.


Detailed Description

Performs a basic config of the ADC and samples seven channels sequentially with automatic channel scanning. ADC values are 12-bit results. Samples are obtained continuously. Uses ADC completion interrupts to get values from ADCxBUFn registers. Main routine fetches the "latest" values from memory.

Conversion results are printed to screen to match adc2pots1.c project (HEX values and voltages are printed.) This is only for PIC24 CPUs without DMA.

Definition in file adc7scan1.c.


Generated on Sun Mar 15 11:14:22 2009 for PIC24 Support Libraries by  doxygen 1.5.8