zephyr::raw

Function gpio_remove_callback_dt

source
pub unsafe extern "C" fn gpio_remove_callback_dt(
    spec: *const gpio_dt_spec,
    callback: *mut gpio_callback,
) -> i32
Expand description

@brief Remove an application callback.

This is equivalent to:

gpio_remove_callback(spec->port, callback);

@param spec GPIO specification from devicetree. @param callback A valid application’s callback structure pointer. @return a value from gpio_remove_callback().