docs/library: Update pyb.Timer to add missing args and defaults to init.

This commit is contained in:
Howard Lovatt 2020-07-02 12:34:45 +10:00 committed by Damien George
parent cf9be201d7
commit 4a7c2731c5

View File

@ -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::