docs/machine.*: Add "currentmodule:: machine" directive.

Makes sure that classes described in these separate files are properly
designated as belonging to "machine" module in indexes.
This commit is contained in:
Paul Sokolovsky 2016-06-08 00:46:27 +03:00
parent 2c5fc681c8
commit c8b7628094
9 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,4 @@
.. currentmodule:: machine
.. _machine.ADC:
class ADC -- analog to digital conversion

View File

@ -1,3 +1,4 @@
.. currentmodule:: machine
.. _machine.I2C:
class I2C -- a two-wire serial protocol

View File

@ -1,3 +1,4 @@
.. currentmodule:: machine
.. _machine.Pin:
class Pin -- control I/O pins

View File

@ -1,3 +1,4 @@
.. currentmodule:: machine
.. _machine.RTC:
class RTC -- real time clock

View File

@ -1,3 +1,4 @@
.. currentmodule:: machine
.. _machine.SD:
class SD -- secure digital memory card

View File

@ -1,3 +1,4 @@
.. currentmodule:: machine
.. _machine.SPI:
class SPI -- a master-driven serial protocol

View File

@ -1,3 +1,4 @@
.. currentmodule:: machine
.. _machine.Timer:
class Timer -- control internal timers

View File

@ -1,3 +1,4 @@
.. currentmodule:: machine
.. _machine.UART:
class UART -- duplex serial communication bus

View File

@ -1,3 +1,4 @@
.. currentmodule:: machine
.. _machine.WDT:
class WDT -- watchdog timer