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

This commit is contained in:
Paul Sokolovsky 2017-04-05 13:05:04 +03:00
parent 2cbe997834
commit 390d5a3bf1
2 changed files with 7 additions and 10 deletions

View File

@ -225,16 +225,6 @@ Methods
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
----------

View File

@ -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)``