summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-15 17:06:11 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-15 17:06:11 +0300
commitf474e956d74e3265b711d91adc5350f8e9c5f41c (patch)
treeaa9febafc33ceb361226a0d561d9bcf0b0cafb02
parentb122ed07326b9f0109b2d596aa094788488edd0d (diff)
downloadmicropython-f474e956d74e3265b711d91adc5350f8e9c5f41c.tar.gz
micropython-f474e956d74e3265b711d91adc5350f8e9c5f41c.zip
docs/machine: Start to update for esp8266 port.
-rw-r--r--docs/library/machine.rst18
1 files changed, 13 insertions, 5 deletions
diff --git a/docs/library/machine.rst b/docs/library/machine.rst
index dacfe737b9..b4d25ceb3c 100644
--- a/docs/library/machine.rst
+++ b/docs/library/machine.rst
@@ -14,9 +14,11 @@ Reset related functions
Resets the device in a manner similar to pushing the external RESET
button.
-.. function:: reset_cause()
+.. only:: port_wipy
- Get the reset cause. See :ref:`constants <machine_constants>` for the possible return values.
+ .. function:: reset_cause()
+
+ Get the reset cause. See :ref:`constants <machine_constants>` for the possible return values.
Interrupt related functions
---------------------------
@@ -41,10 +43,16 @@ Power related functions
.. function:: freq()
- Returns a tuple of clock frequencies: ``(sysclk,)``
- These correspond to:
+ .. only:: not port_wipy
+
+ Returns CPU frequency in hertz.
+
+ .. only:: port_wipy
+
+ Returns a tuple of clock frequencies: ``(sysclk,)``
+ These correspond to:
- - sysclk: frequency of the CPU
+ - sysclk: frequency of the CPU
.. function:: idle()