pub unsafe fn irq_register(
port: u32,
pin: u32,
mode: GpioIrqMode,
callback: ove_gpio_irq_cb,
user_data: *mut c_void,
) -> Result<()>Expand description
Register a GPIO interrupt callback.
ยงSafety
The callback and user_data must remain valid for the lifetime of the registration.