diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst index d3aa37b45d5fc095b65b9a541de227c90d939482..216ebcb2a8d0117bf116e3b161e262f875feebe6 100644 --- a/docs/library/machine.Pin.rst +++ b/docs/library/machine.Pin.rst @@ -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 ---------- diff --git a/docs/wipy/general.rst b/docs/wipy/general.rst index 0d0327f4b316823b6748ff9bb9a6deb3431eab7e..d7b35cc4ed2a5faa9f739c1fda4774d9935dc700 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)``