summaryrefslogtreecommitdiffstats
path: root/watch-library/shared/watch
diff options
context:
space:
mode:
authorAlex Maestas <git@se30.xyz>2023-12-17 17:39:59 +0000
committerAlex Maestas <git@se30.xyz>2023-12-17 17:39:59 +0000
commit89e86fe6294948df0ca8aade93e9893f317dd5fc (patch)
tree0e9b3456e9421faaf7bccf7243f2ec06603943eb /watch-library/shared/watch
parent63d6bc6aa0ddf4cc1ce1918ef7650852a25e581b (diff)
downloadSensor-Watch-89e86fe6294948df0ca8aade93e9893f317dd5fc.tar.gz
Sensor-Watch-89e86fe6294948df0ca8aade93e9893f317dd5fc.tar.bz2
Sensor-Watch-89e86fe6294948df0ca8aade93e9893f317dd5fc.zip
work around silicon erratum in TRNG
Diffstat (limited to 'watch-library/shared/watch')
-rw-r--r--watch-library/shared/watch/watch.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/watch-library/shared/watch/watch.h b/watch-library/shared/watch/watch.h
index 790f9a16..4043fdf7 100644
--- a/watch-library/shared/watch/watch.h
+++ b/watch-library/shared/watch/watch.h
@@ -96,4 +96,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, working around a silicon erratum.
+ */
+void watch_disable_TRNG(Trng* hw);
+
+#endif /* WATCH_H_ */