diff --git a/Hardware-API.md b/Hardware-API.md index 6630ab8..0c1651c 100644 --- a/Hardware-API.md +++ b/Hardware-API.md @@ -135,7 +135,7 @@ Creates and initilizes a pin. - `Pin.OPEN_DRAIN` RECOMMENDED - Pin configured for open-drain output, with special requirements for input handling. Open-drain output works in following way: if output value is set to 0, pin is low level; if output value is 1, pin is in high impedance state. Some MCUs don't support open-drain outputs directly, but it's almost always possible to emulate it (by outputting low level, in case of 0 value, or setting pin as input in case of 1 value). It is recommended that software implemented such emulation (see below for additional requirements for input handling). - `Pin.ALT` OPTIONAL - Pin is configured to perform alternative function, which is MCU-specific. For pin configured in such way, any other Pin methods (except .init()) are not applicable (calling them will lead to undefined, or hardware-specific, result) - `Pin.ALT_OPEN_DRAIN` OPTIONAL - Same as `Pin.ALT`, but pin is set as open-drain. -- `pull` is optional and positional (also can be named). +- `pull` is optional and positional (also can be named). May take `Pin.PULL_UP`, `Pin.PULL_DOWN` or `None` - The rest of args are kwonly. - `value` is required for a software to implement; it is valid only for `Pin.OUT` and `Pin.OPEN_DRAIN` modes and specifies initial output pin value if given. - The rest are optional for software to implement, and a software can define them and also define others.