summaryrefslogtreecommitdiff
path: root/zephyr/include/emul/emul_isl923x.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/include/emul/emul_isl923x.h')
-rw-r--r--zephyr/include/emul/emul_isl923x.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/zephyr/include/emul/emul_isl923x.h b/zephyr/include/emul/emul_isl923x.h
index d43917a45b..3093b0cfe3 100644
--- a/zephyr/include/emul/emul_isl923x.h
+++ b/zephyr/include/emul/emul_isl923x.h
@@ -63,4 +63,13 @@ bool isl923x_emul_is_learn_mode_enabled(const struct emul *emulator);
void isl923x_emul_set_learn_mode_enabled(const struct emul *emulator,
bool enabled);
+/**
+ * @brief Set the emulator's ADC vbus register
+ *
+ * @param emulator The emulator to modify
+ * @param value The new ADC register value
+ */
+void isl923x_emul_set_adc_vbus(const struct emul *emulator,
+ uint16_t value);
+
#endif /* ZEPHYR_INCLUDE_EMUL_EMUL_ISL923X_H_ */