Skip to content

Commit

Permalink
doc: reorg arch interface documentation
Browse files Browse the repository at this point in the history
Reorganize functions in header file for better fit.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Dec 13, 2023
1 parent c568b7c commit 8409aaa
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions include/zephyr/sys/arch_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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)
*
Expand Down

0 comments on commit 8409aaa

Please sign in to comment.