docs/library/machine: Remove conditional docs for rng function.
And instead list its availability explicitly.
This commit is contained in:
parent
163cc66a0b
commit
3e0d587a49
|
@ -83,12 +83,6 @@ Power related functions
|
||||||
Miscellaneous functions
|
Miscellaneous functions
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
.. only:: port_wipy
|
|
||||||
|
|
||||||
.. function:: rng()
|
|
||||||
|
|
||||||
Return a 24-bit software generated random number.
|
|
||||||
|
|
||||||
.. function:: unique_id()
|
.. function:: unique_id()
|
||||||
|
|
||||||
Returns a byte string with a unique identifier of a board/SoC. It will vary
|
Returns a byte string with a unique identifier of a board/SoC. It will vary
|
||||||
|
@ -112,6 +106,12 @@ Miscellaneous functions
|
||||||
above. The timeout is the same for both cases and given by *timeout_us* (which
|
above. The timeout is the same for both cases and given by *timeout_us* (which
|
||||||
is in microseconds).
|
is in microseconds).
|
||||||
|
|
||||||
|
.. function:: rng()
|
||||||
|
|
||||||
|
Return a 24-bit software generated random number.
|
||||||
|
|
||||||
|
Availability: WiPy.
|
||||||
|
|
||||||
.. _machine_constants:
|
.. _machine_constants:
|
||||||
|
|
||||||
Constants
|
Constants
|
||||||
|
|
Loading…
Reference in New Issue