NetBurner 3.1
PlatformSpecific/MODM7AE70/SimpleADC/src/SimpleAD.h
1 /*NB_REVISION*/
2 
3 /*NB_COPYRIGHT*/
4 
5 
6 void InitSingleEndAD(); // Setup the A/D converter to be ready to run
7 
8 // Enable or disable individual AFEC channels
9 void ADConfigCh(unsigned nAfec, unsigned ch, bool enable);
10 
11 void StartAD(); // Start A/D conversion set.
12 
13 bool ADDone(); // Return true if the conversion is complete
14 
15 uint16_t GetADResult(unsigned nAfec, unsigned ch); // Return the AD Result