summaryrefslogtreecommitdiff
path: root/board/keyborg/master_slave.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/keyborg/master_slave.h')
-rw-r--r--board/keyborg/master_slave.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/keyborg/master_slave.h b/board/keyborg/master_slave.h
index 8cc1c8ce64..7312799158 100644
--- a/board/keyborg/master_slave.h
+++ b/board/keyborg/master_slave.h
@@ -29,6 +29,17 @@ int master_slave_is_master(void);
int master_slave_sync_impl(const char *filename, int line, int timeout_ms);
/**
+ * Enable/disable master-slave interrupt. Master-slave interrupt is
+ * implemented using SYNC1/SYNC2 signal, so this is assuming the master
+ * and the slave are in sync waiting for interrupt.
+ */
+void master_slave_enable_interrupt(void);
+void master_slave_disable_interrupt(void);
+
+/* Interrupt the other chip with a 1-ms pulse. */
+void master_slave_wake_other(void);
+
+/**
* Identify this chip and shake hands with the other chip.
*
* @return EC_SUCCESS, or non-zero if any error.