Function ruspiro_gpio::handle_gpio_bank0 [−][src]
#[export_name = "__irq_handler__GpioBank0"] #[no_mangle] pub unsafe extern "C" fn handle_gpio_bank0(tx: Option<IsrSender<Box<dyn Any>>>)
Implement interrupt handler for GPIO driven interrupts from bank 0 (GPIO 0..31)
Safety
As this handler is only called once at a time for the GPIO bank 0 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.