irq_set_status can be used to clear the irq status bit so that the interrupt will stop occuring.
@@ -15,5 +15,6 @@ void handle_irq() {
if (status & BUTTON) {
puts("Button Interrupt!\n");
irq_set_status(status & ~BUTTON);
}
The note is not visible to the blocked user.