annotate TRNG erratum, address review comment

This commit is contained in:
Alex Maestas
2024-01-22 00:30:25 +00:00
parent de692e05e2
commit 83a0e4e992
5 changed files with 12 additions and 16 deletions

View File

@@ -96,12 +96,8 @@ void watch_reset_to_bootloader(void);
*/
int read(int file, char *ptr, int len);
#ifdef __EMSCRIPTEN__
typedef void* Trng;
#endif
/** @brief Disables the TRNG, working around a silicon erratum.
/** @brief Disables the TRNG twice in order to work around silicon erratum 1.16.1.
*/
void watch_disable_TRNG(Trng* hw);
void watch_disable_TRNG();
#endif /* WATCH_H_ */