GPIOD_LINE_REQUEST_FLAG_OPEN_DRAIN

@brief Miscellaneous GPIO request flags.

Values

ValueMeaning
GPIOD_LINE_REQUEST_FLAG_OPEN_DRAINGPIOD_BIT(0)
GPIOD_LINE_REQUEST_FLAG_OPEN_SOURCEGPIOD_BIT(1)

< The line is an open-drain port.

GPIOD_LINE_REQUEST_FLAG_ACTIVE_LOWGPIOD_BIT(2)

< The line is an open-source port.

GPIOD_LINE_REQUEST_FLAG_BIAS_DISABLEGPIOD_BIT(3)

< The active state of the line is low (high is the default).

GPIOD_LINE_REQUEST_FLAG_BIAS_PULL_DOWNGPIOD_BIT(4)

< The line has neither either pull-up nor pull-down resistor.

GPIOD_LINE_REQUEST_FLAG_BIAS_PULL_UPGPIOD_BIT(5)

< The line has pull-down resistor enabled.

Meta