diff --git a/docs/library/pyb.Pin.rst b/docs/library/pyb.Pin.rst index 65ae601bed70e0665e930ef1f1469c4793e3f127..c5e91e0b161ec472e416d0d27f1f61b1dbebf5af 100644 --- a/docs/library/pyb.Pin.rst +++ b/docs/library/pyb.Pin.rst @@ -85,11 +85,7 @@ Constructors Class methods ------------- - - .. method:: Pin.af_list() - - Returns an array of alternate functions available for this pin. - + .. method:: Pin.debug([state]) Get or set the debugging state (``True`` or ``False`` for on or off). @@ -179,6 +175,10 @@ Methods Get the pin port. + .. method:: Pin.af_list() + + Returns an array of alternate functions available for this pin. + .. method:: pin.pull() Returns the currently configured pull of the pin. The integer returned