docs/library: Update pyb.Timer to add missing args and defaults to init.
This commit is contained in:
parent
cf9be201d7
commit
4a7c2731c5
@ -62,7 +62,7 @@ Constructors
|
|||||||
Methods
|
Methods
|
||||||
-------
|
-------
|
||||||
|
|
||||||
.. method:: Timer.init(\*, freq, prescaler, period)
|
.. method:: Timer.init(\*, freq, prescaler, period, mode=Timer.UP, div=1, callback=None, deadtime=0)
|
||||||
|
|
||||||
Initialise the timer. Initialisation must be either by frequency (in Hz)
|
Initialise the timer. Initialisation must be either by frequency (in Hz)
|
||||||
or by prescaler and period::
|
or by prescaler and period::
|
||||||
|
Loading…
Reference in New Issue
Block a user