35 __asm__ __volatile__(
"pushf; cli; pop %0;"
39 return flags & (1 << 9);
47 __asm__ __volatile__(
"pushf; pop %0;"
51 return flags & (1 << 9);
static uint8_t is_irq_enabled(void)
Determines, if the interrupt flags (IF) is set.
Definition: irqflags.h:44
static void irq_enable(uint8_t flags)
Enable IRQs (nested).
Definition: irqflags.h:16
static uint8_t irq_disable(void)
Disable IRQs (nested).
Definition: irqflags.h:29
Set of functions and flags used to manage processors registers.
static void sti(void)
Set interrupt flag; external, maskable interrupts enabled at the end of the next instruction.
Definition: proc_access.h:291
Standard integer data-types.
unsigned char uint8_t
Define the unsigned 8-bit integer.
Definition: stdint.h:30