Skip to content

Commit bba77a2

Browse files
committed
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.
1 parent 7d7243f commit bba77a2

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

docs/library/machine.Pin.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -228,28 +228,28 @@ Constants
228228
The following constants are used to configure the pin objects. Note that
229229
not all constants are available on all ports.
230230

231-
.. data:: IN
232-
OUT
233-
OPEN_DRAIN
234-
ALT
235-
ALT_OPEN_DRAIN
231+
.. data:: Pin.IN
232+
Pin.OUT
233+
Pin.OPEN_DRAIN
234+
Pin.ALT
235+
Pin.ALT_OPEN_DRAIN
236236

237237
Selects the pin mode.
238238

239-
.. data:: PULL_UP
240-
PULL_DOWN
239+
.. data:: Pin.PULL_UP
240+
Pin.PULL_DOWN
241241

242242
Selects the whether there is a pull up/down resistor.
243243

244-
.. data:: LOW_POWER
245-
MED_POWER
246-
HIGH_POWER
244+
.. data:: Pin.LOW_POWER
245+
Pin.MED_POWER
246+
Pin.HIGH_POWER
247247

248248
Selects the pin drive strength.
249249

250-
.. data:: IRQ_FALLING
251-
IRQ_RISING
252-
IRQ_LOW_LEVEL
253-
IRQ_HIGH_LEVEL
250+
.. data:: Pin.IRQ_FALLING
251+
Pin.IRQ_RISING
252+
Pin.IRQ_LOW_LEVEL
253+
Pin.IRQ_HIGH_LEVEL
254254

255255
Selects the IRQ trigger type.

0 commit comments

Comments
 (0)