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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/include/emul/emul_isl923x.h b/zephyr/include/emul/emul_isl923x.h
index 7d085658cf..96be6b6773 100644
--- a/zephyr/include/emul/emul_isl923x.h
+++ b/zephyr/include/emul/emul_isl923x.h
@@ -86,6 +86,14 @@ void isl923x_emul_set_adc_vbus(const struct emul *emulator, uint16_t vbus_mv);
void raa489000_emul_set_acok_pin(const struct emul *emulator, uint16_t value);
/**
+ * @brief Set the value of the state machine status bits in the INFO2 register.
+ *
+ * @param value State machine state, such as RAA489000_INFO2_STATE_OTG
+ */
+void raa489000_emul_set_state_machine_state(const struct emul *emulator,
+ uint16_t value);
+
+/**
* @brief Peek at a register value. This function will assert if the requested
* register does is unimplemented.
*