aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Sokolovsky2016-06-08 16:36:22 +0300
committerPaul Sokolovsky2016-06-08 16:36:22 +0300
commitf1eb672d887e8d71504b9dcfd397e340b556afb3 (patch)
treeacba7734ee430d061975630d9f014aa0df09753f /docs
parenta384a5313013d8ffda4db0e509cf798a080b3526 (diff)
docs/pyb.Pin: Sort .af() and .af_list() methods together.
Diffstat (limited to 'docs')
-rw-r--r--docs/library/pyb.Pin.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/library/pyb.Pin.rst b/docs/library/pyb.Pin.rst
index 30ffccdbd..154217ebb 100644
--- a/docs/library/pyb.Pin.rst
+++ b/docs/library/pyb.Pin.rst
@@ -148,6 +148,10 @@ Methods
Returns the currently configured alternate-function of the pin. The
integer returned will match one of the allowed constants for the af
argument to the init function.
+
+ .. method:: Pin.af_list()
+
+ Returns an array of alternate functions available for this pin.
.. method:: Pin.gpio()
@@ -174,10 +178,6 @@ Methods
.. method:: Pin.port()
Get the pin port.
-
- .. method:: Pin.af_list()
-
- Returns an array of alternate functions available for this pin.
.. method:: Pin.pull()