// gpioclx.h
typedef struct _GPIO_RECONFIGURE_INTERRUPTS_PARAMETERS {
BANK_ID BankId;
PIN_NUMBER PinNumber;
KINTERRUPT_MODE InterruptMode;
KINTERRUPT_POLARITY Polarity;
GPIO_RECONFIGURE_INTERRUPT_FLAGS Flags;
} GPIO_RECONFIGURE_INTERRUPTS_PARAMETERS, *PGPIO_RECONFIGURE_INTERRUPTS_PARAMETERS;
View the official Windows Driver Kit DDI referenceNo description available.
The GPIO_RECONFIGURE_INTERRUPTS_PARAMETERS structure describes the general-purpose I/O (GPIO) interrupt pin to reconfigure.
BankIdThe identifier for the bank of GPIO pins that contains the interrupt pin to reconfigure. If N is the number of banks in the GPIO controller, BankId is an integer in the range 0 to N–1. The GPIO framework extension (GpioClx) previously obtained the number of banks in the controller from the CLIENT_QueryControllerBasicInformation event callback function. For more information, see Remarks in CLIENT_CONTROLLER_BASIC_INFORMATION.
PinNumberThe bank-relative pin number. If N is the number of pins in this bank, PinNumber is an integer in the range 0 to N–1. GpioClx previously obtained the number of pins in each bank from the CLIENT_QueryControllerBasicInformation event callback function. For more information, see the description of the NumberOfPinsPerBank member in CLIENT_CONTROLLER_BASIC_INFORMATION.
InterruptModeIndicates whether to configure the GPIO interrupt pin to be level-sensitive or edge-triggered (latched). This member is set to one of the following values:
For more information, see KINTERRUPT_MODE.
PolarityIndicates the polarity of the reconfigured GPIO interrupt pin. For a level-sensitive interrupt, this member indicates whether the interrupt is active-high or active-low. For an edge-triggered interrupt, this member indicates whether the interrupt is triggered on the rising edge, on the falling edge, or on both edges. This member is set to one of the following values:
For more information, see KINTERRUPT_POLARITY.
FlagsA set of flags to control the interrupt-reconfiguration operation. No flags are currently defined for this operation.
The ReconfigureParameters parameter of the CLIENT_ReconfigureInterrupt event callback function is a pointer to a caller-allocated GPIO_RECONFIGURE_INTERRUPTS_PARAMETERS structure.
CLIENT_CONTROLLER_BASIC_INFORMATION
CLIENT_QueryControllerBasicInformation