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
|
||||
-------------
|
||||
|
||||
.. method:: ExtInt.regs()
|
||||
.. classmethod:: ExtInt.regs()
|
||||
|
||||
Dump the values of the EXTI registers.
|
||||
|
||||
|
@ -86,15 +86,15 @@ Constructors
|
||||
Class methods
|
||||
-------------
|
||||
|
||||
.. method:: Pin.debug([state])
|
||||
.. classmethod:: Pin.debug([state])
|
||||
|
||||
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.
|
||||
|
||||
.. method:: Pin.mapper([fun])
|
||||
.. classmethod:: Pin.mapper([fun])
|
||||
|
||||
Get or set the pin mapper function.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user