pub unsafe extern "C" fn gpio_get_pending_int(
dev: *const device,
) -> i32
Expand description
@brief Function to get pending interrupts
The purpose of this function is to return the interrupt status register for the device. This is especially useful when waking up from low power states to check the wake up source.
@param dev Pointer to the device structure for the driver instance.
@retval status != 0 if at least one gpio interrupt is pending. @retval 0 if no gpio interrupt is pending. @retval -ENOSYS If driver does not implement the operation