You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return the current CPU frequency in hertz (for example, 16MHz equals 16_000_000). It is often a fixed value.
230
+
231
+
```go
232
+
func GetRNG() uint32
233
+
```
234
+
235
+
Return a 32-bit random number from a hardware random number generator. It is often (but not always) a cryptographic random number generator. Check the documentation of the chip to be sure.
236
+
237
+
Not all chips have a random number generator.
238
+
239
+
```go
240
+
func ReadTemperature() int32
241
+
```
242
+
243
+
Read the current die temperature of the chip. The return value is in milli-celsius: to convert to Celsius, divide the returned value by 1000.
0 commit comments