Export (0) Print
Expand All

GPIO_CLX_ReleaseInterruptLock method

The GPIO_CLX_ReleaseInterruptLock method releases an interrupt lock on the specified bank.

Syntax


VOID GPIO_CLX_ReleaseInterruptLock(
  [in]  PVOID   Context,
  [in]  BANK_ID BankId
);

Parameters

Context [in]

A pointer to the GPIO controller driver's device context. The GPIO framework extension (GpioClx) passes this pointer value as a parameter to the callback functions that are implemented by the GPIO controller driver.

BankId [in]

The identifier for this bank of GPIO pins. If N is the number of banks in the GPIO controller, BankId is an integer in the range 0 to N–1.

Return value

None.

Remarks

This method releases the interrupt lock that the caller acquired in a previous call to the GPIO_CLX_AcquireInterruptLock method.

If the previous call to the GPIO_CLX_AcquireInterruptLock method raised the calling thread's IRQL, GPIO_CLX_ReleaseInterruptLock restores this IRQL to its original level.

If the Context parameter is NULL or points to an invalid GPIO device context, this method causes a bug check in debug builds of GpioClx.

Requirements

Target platform

Universal

Version

Available starting with Windows 8.

Header

Gpioclx.h

IRQL

See Remarks.

See also

GPIO_CLX_AcquireInterruptLock

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft