changeset 545:e595d2d1f77f

Add I2C address for external bulkhead ADC (Hardware gen 3 only) to i2c.h
author heinrichsweikamp
date Tue, 03 Nov 2020 12:47:51 +0100
parents 3bb94d361f29
children daa8d4474ba0
files Small_CPU/Inc/i2c.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Small_CPU/Inc/i2c.h	Mon Nov 02 12:13:02 2020 +0100
+++ b/Small_CPU/Inc/i2c.h	Tue Nov 03 12:47:51 2020 +0100
@@ -26,6 +26,9 @@
 /* Battery Gas Gauge */
 #define DEVICE_BATTERYGAUGE 			0xC8 	// LTC2941 battery gauge
 
+/* ADC for external bulkhead */
+#define DEVICE_EXTERNAL_ADC				0x68	// MCP3424 with Adr0=GND and Adr1=GND (Hardware gen 3 only)
+
 
 /* Includes ------------------------------------------------------------------*/
 #include "stm32f4xx_hal.h"