Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Functions | |
static bool | arch_is_in_isr (void) |
static unsigned int | arch_irq_lock (void) |
static void | arch_irq_unlock (unsigned int key) |
static bool | arch_irq_unlocked (unsigned int key) |
void | arch_irq_disable (unsigned int irq) |
void | arch_irq_enable (unsigned int irq) |
int | arch_irq_is_enabled (unsigned int irq) |
int | arch_irq_connect_dynamic (unsigned int irq, unsigned int priority, void(*routine)(const void *parameter), const void *parameter, uint32_t flags) |
int arch_irq_connect_dynamic | ( | unsigned int | irq, |
unsigned int | priority, | ||
void(*)(const void *parameter) | routine, | ||
const void * | parameter, | ||
uint32_t | flags | ||
) |
#include <include/sys/arch_interface.h>
Arch-specific hook to install a dynamic interrupt.
irq | IRQ line number |
priority | Interrupt priority |
routine | Interrupt service routine |
parameter | ISR parameter |
flags | Arch-specific IRQ configuration flag |
#include <include/sys/arch_interface.h>
Disable the specified interrupt line
int arch_irq_is_enabled | ( | unsigned int | irq | ) |
#include <include/sys/arch_interface.h>
Test if an interrupt line is enabled
#include <include/sys/arch_interface.h>
Test if calling arch_irq_unlock() with this key would unlock irqs
key | value returned by arch_irq_lock() |
#include <kernel/include/kernel_arch_interface.h>
Test if the current context is in interrupt context
XXX: This is inconsistently handled among arches wrt exception context See: #17656