Commit 4a7c2731 authored by Howard Lovatt's avatar Howard Lovatt Committed by Damien George

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

parent cf9be201
......@@ -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::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment