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

docs/pyb.Pin: Sort .af() and .af_list() methods together.

parent a384a531
No related tags found
No related merge requests found
...@@ -149,6 +149,10 @@ Methods ...@@ -149,6 +149,10 @@ Methods
integer returned will match one of the allowed constants for the af integer returned will match one of the allowed constants for the af
argument to the init function. argument to the init function.
.. method:: Pin.af_list()
Returns an array of alternate functions available for this pin.
.. method:: Pin.gpio() .. method:: Pin.gpio()
Returns the base address of the GPIO block associated with this pin. Returns the base address of the GPIO block associated with this pin.
...@@ -175,10 +179,6 @@ Methods ...@@ -175,10 +179,6 @@ Methods
Get the pin port. Get the pin port.
.. method:: Pin.af_list()
Returns an array of alternate functions available for this pin.
.. method:: Pin.pull() .. method:: Pin.pull()
Returns the currently configured pull of the pin. The integer returned Returns the currently configured pull of the pin. The integer returned
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment