mode_ |
public enum mode_t
| Member name | Value | Description |
|---|---|---|
| GPIO_MODE_INPUT | 0 | Normal high impedance input. |
| GPIO_MODE_INPUT_PULLDOWN | 1 | Input with pulldown resistor. |
| GPIO_MODE_INPUT_PULLUP | 2 | Input with pullup resistor. |
| GPIO_MODE_OUTPUT | 3 | Normal push-pull output. |
| GPIO_MODE_OUTPUT_OPENDRAIN | 4 | Output with open drain. |