summaryrefslogtreecommitdiff
path: root/zephyr/emul/include/vcmp_mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/emul/include/vcmp_mock.h')
-rw-r--r--zephyr/emul/include/vcmp_mock.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/zephyr/emul/include/vcmp_mock.h b/zephyr/emul/include/vcmp_mock.h
new file mode 100644
index 0000000000..5444b0aeab
--- /dev/null
+++ b/zephyr/emul/include/vcmp_mock.h
@@ -0,0 +1,18 @@
+/* Copyright 2022 Google LLC
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef __EMUL_INCLUDE_VCMP_MOCK_H
+#define __EMUL_INCLUDE_VCMP_MOCK_H
+
+#include <zephyr/device.h>
+
+/*
+ * Manually trigger the vcmp handler
+ *
+ * @param dev pointer to the vcmp emulator device
+ */
+void vcmp_mock_trigger(const struct device *dev);
+
+#endif /*__EMUL_INCLUDE_VCMP_MOCK_H */