summaryrefslogtreecommitdiff
path: root/include/lpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lpc.h')
-rw-r--r--include/lpc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/lpc.h b/include/lpc.h
index 9fa68381a3..8cf87668f6 100644
--- a/include/lpc.h
+++ b/include/lpc.h
@@ -25,4 +25,10 @@ uint8_t *lpc_get_host_range(int slot);
* commands, 1 for usermode-originated commands. */
void lpc_send_host_response(int slot, int status);
+/* Returns non-zero if the COMx interface has received a character. */
+int lpc_comx_has_char(void);
+
+/* Returns the next character pending on the COMx interface. */
+int lpc_comx_get_char(void);
+
#endif /* __CROS_EC_LPC_H */