We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2941c8d + 9e3ba59 commit 899ea59Copy full SHA for 899ea59
targets/TARGET_RDA/TARGET_UNO_91H/trng_api.c
@@ -70,6 +70,8 @@ void trng_init(trng_t *obj)
70
regval = rTRNG_CTRL | ((0x01UL << 4) | (0xFFUL << 16));
71
rTRNG_CTRL = regval & ~((0x01UL << 1) | (0x01UL << 2) | (0x01UL << 3));
72
73
+ us_ticker_init();
74
+
75
/*Entropy data was mixed by TRNG seed and noise, so we add one 32us delay to
76
ensure all 32 bits of seed is entropy when init and
77
another delay to update noise data when get data.
0 commit comments