[][src]Crate ruspiro_interrupt_core

Interrupt Core functions

Core functions to enable/disable interrupts globally. This is splitted from the ruspiro-interrupt crate to remove circular dependencies between the interrupt crate and others (e.g. ruspiro-singleton).

Functions

disable_fiq

globally disable FIQ interrupts from beeing triggered. This function stores the state of the current enabling/disabling of interrupts. If disable is called multiple times after each other this will than ultimately store "disabled" as last state. In this case a previous enabled state (before the multiple calls) is not able to recover with a call to [re_enable_fiq].

disable_interrupts

globally disabling interrupts (IRQ/FIQ) from beeing triggered

disable_irq

globally disable IRQ interrupts from beeing triggered. This function stores the state of the current enabling/disabling of interrupts. If disable is called multiple times after each other this will than ultimately store "disabled" as last state. In this case a previous enabled state (before the multiple calls) is not able to recover with a call to [re_enable_irq].

enable_fiq

globally enable FIQ interrupts to be triggered

enable_interrupts

globally enabling interrupts (IRQ/FIQ) to be triggered

enable_irq

globally enable IRQ interrupts to be triggered

entering_interrupt_handler

Function used to store a cross core global flag that an interrupt is currently handled

leaving_interrupt_handler

Function used to clear a cross core global flag that no interrupt is currently handled

re_enable_interrupts

globally re-enabling interrupts (IRQ/FIQ) to be triggered. This is done based on the global state that was set before the interrupts were disable using the disable_interrupts function.