]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/apps.h
Merge branch 'master' into GenericTracing
[proxmark3-svn] / armsrc / apps.h
index 0f7714e7b7f80a3ab7fbfc2ea9772980f8d4ae5e..a506f4150889d3163a214e43e0aff98e80a56791 100644 (file)
@@ -38,6 +38,10 @@ void DbpString(char *str);
 void Dbprintf(const char *fmt, ...);
 void Dbhexdump(int len, uint8_t *d, bool bAsci);
 
 void Dbprintf(const char *fmt, ...);
 void Dbhexdump(int len, uint8_t *d, bool bAsci);
 
+// ADC Vref = 3300mV, and an (10M+1M):1M voltage divider on the HF input can measure voltages up to 36300 mV
+#define MAX_ADC_HF_VOLTAGE 36300
+// ADC Vref = 3300mV, and an (10000k+240k):240k voltage divider on the LF input can measure voltages up to 140800 mV
+#define MAX_ADC_LF_VOLTAGE 140800
 int AvgAdc(int ch);
 
 void ToSendStuffBit(int b);
 int AvgAdc(int ch);
 
 void ToSendStuffBit(int b);
Impressum, Datenschutz