diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-08 01:33:49 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-08 01:33:49 +0300 |
commit | 7d7243f44c68c5c1bfeba160a1650174c744722f (patch) | |
tree | bec296a71da5412f7e74ad06de8709696b027422 /docs/library/machine.Timer.rst | |
parent | 93968bd6fb15d1d49e0c2e4a2d412250cc653057 (diff) |
docs/machine.*: Use proper class case in method headers.
Class designator will be used as is in indexes, so must match actual class
name.
Diffstat (limited to 'docs/library/machine.Timer.rst')
-rw-r--r-- | docs/library/machine.Timer.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/library/machine.Timer.rst b/docs/library/machine.Timer.rst index 8bb9a3660..0e596588e 100644 --- a/docs/library/machine.Timer.rst +++ b/docs/library/machine.Timer.rst @@ -72,7 +72,7 @@ Methods .. only:: port_wipy - .. method:: timer.init(mode, \*, width=16) + .. method:: Timer.init(mode, \*, width=16) Initialise the timer. Example:: @@ -93,14 +93,14 @@ Methods (or large periods), 32-bit timers should be used. 32-bit mode is only available for ``ONE_SHOT`` AND ``PERIODIC`` modes. -.. method:: timer.deinit() +.. method:: Timer.deinit() Deinitialises the timer. Disables all channels and associated IRQs. Stops the timer, and disables the timer peripheral. .. only:: port_wipy - .. method:: timer.channel(channel, \**, freq, period, polarity=Timer.POSITIVE, duty_cycle=0) + .. method:: Timer.channel(channel, \**, freq, period, polarity=Timer.POSITIVE, duty_cycle=0) If only a channel identifier passed, then a previously initialized channel object is returned (or ``None`` if there is no previous channel). |