mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
include/nuttx/arch.h: Add prototype for an architecture-specific up_trigger_irq function
This commit is contained in:
@@ -149,6 +149,11 @@ config ARCH_VECNOTIRQ
|
|||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config ARCH_HAVE_TRIGGER_HOOK
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
depends on !ARCH_NOINTC
|
||||||
|
|
||||||
config ARCH_DMA
|
config ARCH_DMA
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|||||||
@@ -1389,6 +1389,18 @@ void up_enable_irq(int irq);
|
|||||||
void up_disable_irq(int irq);
|
void up_disable_irq(int irq);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Name: up_trigger_irq
|
||||||
|
*
|
||||||
|
* Description:
|
||||||
|
* Trigger an IRQ by software. May not be supported by all architectures.
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifdef CONFIG_ARCH_HAVE_TRIGGER_HOOK
|
||||||
|
void up_trigger_irq(int irq);
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: up_prioritize_irq
|
* Name: up_prioritize_irq
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user