diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-04-05 13:05:04 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-04-05 13:05:04 +0300 |
commit | 390d5a3bf101eba5952c3f757f27b82ff0bdfed1 (patch) | |
tree | b6569097e5e672733d7f29c68568b02ad7a49716 /docs/wipy | |
parent | 2cbe99783432b29bc303dc2e2cfe6823fe4a6c4f (diff) | |
download | micropython-390d5a3bf101eba5952c3f757f27b82ff0bdfed1.tar.gz micropython-390d5a3bf101eba5952c3f757f27b82ff0bdfed1.zip |
docs/machine.Pin: Move wipy-specific methods to its docs.
Diffstat (limited to 'docs/wipy')
-rw-r--r-- | docs/wipy/general.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/wipy/general.rst b/docs/wipy/general.rst index 0d0327f4b3..d7b35cc4ed 100644 --- a/docs/wipy/general.rst +++ b/docs/wipy/general.rst @@ -232,3 +232,10 @@ For interrupts, the ``priority`` can take values in the range 1-7. And the - If ``wake_from=machine.Sleep.SUSPENDED`` pins ``GP2``, ``GP4``, ``GP10``, ``GP11``, ``GP17`` and ``GP24`` can wake the board. In this case all of the 6 pins can be enabled as a ``machine.Sleep.HIBERNATE`` wake source at the same time. + +Additional Pin methods: + +.. method:: machine.Pin.alt_list() + + Returns a list of the alternate functions supported by the pin. List items are + a tuple of the form: ``('ALT_FUN_NAME', ALT_FUN_INDEX)`` |