From 8409aaa4ad44ec1e367abfb82027a1c6c7e1325c Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 6 Dec 2023 06:08:39 -0500 Subject: [PATCH] doc: reorg arch interface documentation Reorganize functions in header file for better fit. Signed-off-by: Anas Nashif --- include/zephyr/sys/arch_interface.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/include/zephyr/sys/arch_interface.h b/include/zephyr/sys/arch_interface.h index 75183a78a6ed48..e173297ccb805e 100644 --- a/include/zephyr/sys/arch_interface.h +++ b/include/zephyr/sys/arch_interface.h @@ -309,6 +309,16 @@ void arch_irq_enable(unsigned int irq); */ int arch_irq_is_enabled(unsigned int irq); +/** + * Set IRQ number priority + * + * @param irq IRQ line number + * @param prio Interrupt priority + * @param flags Arch-specific IRQ configuration flag + * + */ +void arch_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags); + /** * Arch-specific hook to install a dynamic interrupt. * @@ -342,17 +352,6 @@ int arch_irq_disconnect_dynamic(unsigned int irq, unsigned int priority, void (*routine)(const void *parameter), const void *parameter, uint32_t flags); - -/** - * Set IRQ number priority - * - * @param irq IRQ line number - * @param prio Interrupt priority - * @param flags Arch-specific IRQ configuration flag - * - */ -void arch_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags); - /** * @def ARCH_IRQ_CONNECT(irq, pri, isr, arg, flags) *