summaryrefslogtreecommitdiff
path: root/docs/pyboard/tutorial/power_ctrl.rst
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-02-27 22:03:52 -0500
committerGitHub <noreply@github.com>2018-02-27 22:03:52 -0500
commit568c04e6afa8016062f685b2198c0209f62827f4 (patch)
treed07b76119f715add462983b335797adf64b61249 /docs/pyboard/tutorial/power_ctrl.rst
parent6a2379fd0bfe10017d8abc5c36ef1d470c0d9b27 (diff)
parentea633117d01d94e8d56ed94344e4b3e46b4eef03 (diff)
Merge pull request #650 from tannewt/merge_2x3.0.0-alpha.2
Merge in commits from 2.x branch.
Diffstat (limited to 'docs/pyboard/tutorial/power_ctrl.rst')
-rw-r--r--docs/pyboard/tutorial/power_ctrl.rst13
1 files changed, 0 insertions, 13 deletions
diff --git a/docs/pyboard/tutorial/power_ctrl.rst b/docs/pyboard/tutorial/power_ctrl.rst
deleted file mode 100644
index 877b7cd7e..000000000
--- a/docs/pyboard/tutorial/power_ctrl.rst
+++ /dev/null
@@ -1,13 +0,0 @@
-Power control
-=============
-
-:meth:`pyb.wfi` is used to reduce power consumption while waiting for an
-event such as an interrupt. You would use it in the following situation::
-
- while True:
- do_some_processing()
- pyb.wfi()
-
-Control the frequency using :meth:`pyb.freq`::
-
- pyb.freq(30000000) # set CPU frequency to 30MHz