pub unsafe extern "C" fn gpio_pin_interrupt_configure_dt(
spec: *const gpio_dt_spec,
flags: u32,
) -> i32Expand description
@brief Configure pin interrupts from a @p gpio_dt_spec.
@isr_ok
This is equivalent to:
gpio_pin_interrupt_configure(spec->port, spec->pin, combined_flags);Where combined_flags is the combination of the flags argument and the GPIO_INT_WAKEUP flag from spec->dt_flags if set. Other flags from spec->dt_flags are ignored.
@param spec GPIO specification from devicetree @param flags interrupt configuration flags @return a value from gpio_pin_interrupt_configure()