GPIO_PIN_IORESTRICTION_TYPE enumeration (pepfx.h)
The GPIO_PIN_IORESTRICTION_TYPE enumeration describes the functions that a GPIO pin is limited to performing.
Syntax
typedef enum _GPIO_PIN_IORESTRICTION_TYPE {
IoRestrictionNone,
IoRestrictionInputOnly,
IoRestrictionOutputOnly,
IoRestrictionNoneAndPreserve
} GPIO_PIN_IORESTRICTION_TYPE;
Constants
IoRestrictionNone Indicates that the GPIO pin is not restricted to either input or output. When no IO restriction is described, it is assumed to be IoRestrictionNone. |
IoRestrictionInputOnly Indicates that the GPIO pin is restricted to input. |
IoRestrictionOutputOnly Indicates that the GPIO pin is restricted to output. |
IoRestrictionNoneAndPreserve Indicates that the GPIO pin is not restricted to either input or output and that the mode should be preserved when the driver is unloaded. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported starting with Windows 10. |
Header | pepfx.h (include Pep_x.h) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for