pub fn restore_irqs(enabled: bool)
Restore interrupt flags
Restores the interrupt state to a previous value.