MAX11410 high speed 24-bit Delta-Sigma ADC

Dependents:   MAX11410BOB_24bit_ADC MAX11410BOB_Serial_Tester

Revision:
7:fc05b7441c44
Parent:
6:2d39fd70692c
Child:
8:3a9dfa2e8234
--- a/MAX11410.h	Fri Jan 17 22:04:52 2020 +0000
+++ b/MAX11410.h	Wed Jan 22 02:04:18 2020 +0000
@@ -1226,7 +1226,11 @@
     /// Each channel's most recent value in LSBs.
     /// Updated by Measure_Voltage function.
     /// Use VoltageOfCode function to convert LSBs to physical voltage.
+#if 1 // DIAGNOSTIC allocate array size 2^N
+    uint32_t AINcode[16];
+#else // allocate array size exactly, do not support reserved channels
     uint32_t AINcode[10];
+#endif
 
 // CODE GENERATOR: omit global g_MAX11410_device