Buoyancy Firmware  1.0
Buoyancy Vehicle Firmware Documentation
SAADC.h
Go to the documentation of this file.
1 #ifndef _SAADC_H
2 #define _SAADC_H
3 
4 #include "main.h"
5 
15 // SAADC
16 #define ANALOG_BATTERY (2UL)
17 #define ANALOG_PRESSURE (3UL)
18 #define SAADC_CALIBRATION_INTERVAL 10
19 #define SAADC_SAMPLES_IN_BUFFER 2
23 extern bool SAADCdataReady;
27 void saadc_init(void);
28 
29 #endif
30