summaryrefslogtreecommitdiff
path: root/include/usb_console.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_console.h')
-rw-r--r--include/usb_console.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/usb_console.h b/include/usb_console.h
index 08cbbf5491..de538f8ec8 100644
--- a/include/usb_console.h
+++ b/include/usb_console.h
@@ -44,6 +44,16 @@ int usb_putc(int c);
int usb_getc(void);
/**
+ * Reset the usb console output crc32 accumulator.
+ */
+void usb_console_crc_init(void);
+
+/**
+ * Get the current usb console output crc32 accumulator.
+ */
+uint32_t usb_console_crc(void);
+
+/**
* Enable and Disable the USB console.
*
* By default the console is enabled, this should not be a problem since it