summaryrefslogtreecommitdiffstats
path: root/watch-library/shared/watch/watch.h
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/shared/watch/watch.h')
-rw-r--r--watch-library/shared/watch/watch.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/watch-library/shared/watch/watch.h b/watch-library/shared/watch/watch.h
index 790f9a16..62e57a59 100644
--- a/watch-library/shared/watch/watch.h
+++ b/watch-library/shared/watch/watch.h
@@ -88,6 +88,10 @@ bool watch_is_usb_enabled(void);
*/
void watch_reset_to_bootloader(void);
+/** @brief Call periodically from app main loop to service CDC RX/TX.
+ */
+void cdc_task(void);
+
/** @brief Reads up to len bytes from the USB serial.
* @param file ignored, you can pass in 0
* @param ptr pointer to a buffer of at least len bytes
@@ -96,4 +100,8 @@ void watch_reset_to_bootloader(void);
*/
int read(int file, char *ptr, int len);
-#endif /* WATCH_H_ */ \ No newline at end of file
+/** @brief Disables the TRNG twice in order to work around silicon erratum 1.16.1.
+ */
+void watch_disable_TRNG();
+
+#endif /* WATCH_H_ */