summaryrefslogtreecommitdiff
path: root/driver/tcpm/fusb302.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/tcpm/fusb302.h')
-rw-r--r--driver/tcpm/fusb302.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/tcpm/fusb302.h b/driver/tcpm/fusb302.h
index b4a8599ea8..fee246aeb2 100644
--- a/driver/tcpm/fusb302.h
+++ b/driver/tcpm/fusb302.h
@@ -49,6 +49,7 @@
#define TCPC_REG_SWITCHES1_TXCC1_EN (1<<0)
#define TCPC_REG_MEASURE 0x04
+#define TCPC_REG_MEASURE_MDAC_MASK 0x3F
#define TCPC_REG_MEASURE_VBUS (1<<6)
/*
* MDAC reference voltage step size is 42 mV. Round our thresholds to reduce