diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-08 01:37:03 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-08 01:37:03 +0300 |
commit | bba77a2d0166918aeba8c6b8e9d8a4c3f6a8c4dd (patch) | |
tree | 69648489eff6c150108cae8c459d4fba958f3f3b /docs/library | |
parent | 7d7243f44c68c5c1bfeba160a1650174c744722f (diff) | |
download | micropython-bba77a2d0166918aeba8c6b8e9d8a4c3f6a8c4dd.tar.gz micropython-bba77a2d0166918aeba8c6b8e9d8a4c3f6a8c4dd.zip |
docs/machine.Pin: Add class designator to all constants.
This makes rendered docs to not provide incorrect information and
consistent with how it's down for other machine classes.
Diffstat (limited to 'docs/library')
-rw-r--r-- | docs/library/machine.Pin.rst | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst index f672abe30b..6d6fb860d3 100644 --- a/docs/library/machine.Pin.rst +++ b/docs/library/machine.Pin.rst @@ -228,28 +228,28 @@ Constants The following constants are used to configure the pin objects. Note that not all constants are available on all ports. -.. data:: IN - OUT - OPEN_DRAIN - ALT - ALT_OPEN_DRAIN +.. data:: Pin.IN + Pin.OUT + Pin.OPEN_DRAIN + Pin.ALT + Pin.ALT_OPEN_DRAIN Selects the pin mode. -.. data:: PULL_UP - PULL_DOWN +.. data:: Pin.PULL_UP + Pin.PULL_DOWN Selects the whether there is a pull up/down resistor. -.. data:: LOW_POWER - MED_POWER - HIGH_POWER +.. data:: Pin.LOW_POWER + Pin.MED_POWER + Pin.HIGH_POWER Selects the pin drive strength. -.. data:: IRQ_FALLING - IRQ_RISING - IRQ_LOW_LEVEL - IRQ_HIGH_LEVEL +.. data:: Pin.IRQ_FALLING + Pin.IRQ_RISING + Pin.IRQ_LOW_LEVEL + Pin.IRQ_HIGH_LEVEL Selects the IRQ trigger type. |