docs/pyb.ExtInt,pyb.Pin: Mark up class methods as such.
This commit is contained in:
parent
0d8c22b122
commit
585aafc27e
@ -72,7 +72,7 @@ Constructors
|
|||||||
Class methods
|
Class methods
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
.. method:: ExtInt.regs()
|
.. classmethod:: ExtInt.regs()
|
||||||
|
|
||||||
Dump the values of the EXTI registers.
|
Dump the values of the EXTI registers.
|
||||||
|
|
||||||
|
@ -86,15 +86,15 @@ Constructors
|
|||||||
Class methods
|
Class methods
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
.. method:: Pin.debug([state])
|
.. classmethod:: Pin.debug([state])
|
||||||
|
|
||||||
Get or set the debugging state (``True`` or ``False`` for on or off).
|
Get or set the debugging state (``True`` or ``False`` for on or off).
|
||||||
|
|
||||||
.. method:: Pin.dict([dict])
|
.. classmethod:: Pin.dict([dict])
|
||||||
|
|
||||||
Get or set the pin mapper dictionary.
|
Get or set the pin mapper dictionary.
|
||||||
|
|
||||||
.. method:: Pin.mapper([fun])
|
.. classmethod:: Pin.mapper([fun])
|
||||||
|
|
||||||
Get or set the pin mapper function.
|
Get or set the pin mapper function.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user