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

docs/machine.Pin: Move wipy-specific methods to its docs.

parent 2cbe9978
No related branches found
No related tags found
No related merge requests found
...@@ -225,16 +225,6 @@ Methods ...@@ -225,16 +225,6 @@ Methods
This method returns a callback object. This method returns a callback object.
.. only:: port_wipy
.. method:: 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)``
Availability: WiPy.
Attributes Attributes
---------- ----------
......
...@@ -232,3 +232,10 @@ For interrupts, the ``priority`` can take values in the range 1-7. And the ...@@ -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``, - If ``wake_from=machine.Sleep.SUSPENDED`` pins ``GP2``, ``GP4``, ``GP10``,
``GP11``, ``GP17`` and ``GP24`` can wake the board. In this case all of the ``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. 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)``
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment