Skip to content

Commit 390d5a3

Browse files
committed
docs/machine.Pin: Move wipy-specific methods to its docs.
1 parent 2cbe997 commit 390d5a3

2 files changed

Lines changed: 7 additions & 10 deletions

File tree

docs/library/machine.Pin.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -225,16 +225,6 @@ Methods
225225

226226
This method returns a callback object.
227227

228-
.. only:: port_wipy
229-
230-
.. method:: Pin.alt_list()
231-
232-
Returns a list of the alternate functions supported by the pin. List items are
233-
a tuple of the form: ``('ALT_FUN_NAME', ALT_FUN_INDEX)``
234-
235-
Availability: WiPy.
236-
237-
238228
Attributes
239229
----------
240230

docs/wipy/general.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,10 @@ For interrupts, the ``priority`` can take values in the range 1-7. And the
232232
- If ``wake_from=machine.Sleep.SUSPENDED`` pins ``GP2``, ``GP4``, ``GP10``,
233233
``GP11``, ``GP17`` and ``GP24`` can wake the board. In this case all of the
234234
6 pins can be enabled as a ``machine.Sleep.HIBERNATE`` wake source at the same time.
235+
236+
Additional Pin methods:
237+
238+
.. method:: machine.Pin.alt_list()
239+
240+
Returns a list of the alternate functions supported by the pin. List items are
241+
a tuple of the form: ``('ALT_FUN_NAME', ALT_FUN_INDEX)``

0 commit comments

Comments
 (0)