differential input adc board K64F Compatible hal freescale K64F
Dependents: trms_helloworld AnalogIn_Diff_helloworld
Fork of AnalogIn_Diff by
Diff: AnalogIn_Diff.h
- Revision:
- 5:c24df4d64aa1
- Parent:
- 3:d17541ceae12
- Child:
- 6:f39be15f056c
diff -r a833fa5cce1e -r c24df4d64aa1 AnalogIn_Diff.h
--- a/AnalogIn_Diff.h Tue Sep 22 13:40:55 2015 +0000
+++ b/AnalogIn_Diff.h Tue Jan 05 09:47:53 2016 +0000
@@ -28,9 +28,10 @@
#include "fsl_clock_manager.h"
#include "PeripheralPins.h"
#include "fsl_device_registers.h"
+#include "fsl_interrupt_manager.h"
-#define VERSION_ADC_DIFF "2014_12_05"
-
+#define VERSION_ADC_DIFF "2016_01_04"
+#define MAX_ADC 2
#if FSL_FEATURE_ADC_HAS_DIFF_MODE
#define MAX_FADC 6000000
@@ -116,7 +117,7 @@
private:
uint8_t chnNum;
uint32_t instance ;
- uint32_t adc_addrs[];
+ uint32_t adc_addrs[MAX_ADC];
};
#endif //FSL_FEATURE_ADC_HAS_DIFF_MODE
frederic blanc

ADC DIFF K64F