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

pull/6273/head
Howard Lovatt 2020-07-02 12:34:45 +10:00 zatwierdzone przez Damien George
rodzic cf9be201d7
commit 4a7c2731c5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -62,7 +62,7 @@ Constructors
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)
or by prescaler and period::