gpio_irq_callback_t

Type Alias gpio_irq_callback_t 

Source
pub type gpio_irq_callback_t = Option<unsafe extern "C" fn(gpio: uint, events: u32)>;

Aliased Type§

pub enum gpio_irq_callback_t {
    None,
    Some(unsafe extern "C" fn(u32, u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u32, u32))

Some value of type T.