Skip to content
Snippets Groups Projects
Commit f474e956 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

docs/machine: Start to update for esp8266 port.

parent b122ed07
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,8 @@ Reset related functions ...@@ -14,6 +14,8 @@ Reset related functions
Resets the device in a manner similar to pushing the external RESET Resets the device in a manner similar to pushing the external RESET
button. button.
.. only:: port_wipy
.. function:: reset_cause() .. function:: reset_cause()
Get the reset cause. See :ref:`constants <machine_constants>` for the possible return values. Get the reset cause. See :ref:`constants <machine_constants>` for the possible return values.
...@@ -41,6 +43,12 @@ Power related functions ...@@ -41,6 +43,12 @@ Power related functions
.. function:: freq() .. function:: freq()
.. only:: not port_wipy
Returns CPU frequency in hertz.
.. only:: port_wipy
Returns a tuple of clock frequencies: ``(sysclk,)`` Returns a tuple of clock frequencies: ``(sysclk,)``
These correspond to: These correspond to:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment