Function ruspiro_gpio::handle_gpio_bank1[][src]

#[export_name = "__irq_handler__GpioBank1"]
#[no_mangle]
pub unsafe extern "C" fn handle_gpio_bank1(
    tx: Option<IsrSender<Box<dyn Any>>>
)
Expand description

Implement interrupt handler for GPIO driven interrupts from bank 1 (GPIO 32..53)

Safety

As this handler is only called once at a time for the GPIO bank 1 we can safely access the static handler array. The only second place is from within the Gpio Singleton accessor, that when accessed has the interrupts disabled.