RERUN_ISR
atomic_or(RERUN_ISR, &ctrl->pending_events);
if (atomic_fetch_and(~RERUN_ISR, &ctrl->pending_events) & RERUN_ISR) {