#include <types.h>
#include <compiler.h>
#include "armv7-r/irq.h"
Go to the source code of this file.
- Copyright
- (c) 2022 Semidrive Semiconductor. All rights reserved.
Revision History:
◆ IRQ_RESTORE
| #define IRQ_RESTORE arch_irq_restore(irq_flags); |
◆ IRQ_SAVE
Value: irq_state_t irq_flags; \
irq_flags = arch_irq_save();
◆ TRIGGER_MODE_EDGE
| #define TRIGGER_MODE_EDGE 1 |
◆ TRIGGER_MODE_LEVEL
| #define TRIGGER_MODE_LEVEL 0 |
◆ irq_attach()
| int irq_attach |
( |
uint32_t |
irq, |
|
|
irq_handler |
handler, |
|
|
void * |
arg |
|
) |
| |
◆ irq_detach()
| int irq_detach |
( |
uint32_t |
irq | ) |
|
◆ irq_disable()
| void irq_disable |
( |
uint32_t |
irq | ) |
|
◆ irq_dispatch()
| int irq_dispatch |
( |
void |
| ) |
|
◆ irq_enable()
| void irq_enable |
( |
uint32_t |
irq | ) |
|
◆ irq_get_current_priority()
| uint32_t irq_get_current_priority |
( |
void |
| ) |
|
◆ irq_get_priority()
| int irq_get_priority |
( |
uint32_t |
irq | ) |
|
◆ irq_initialize()
| void irq_initialize |
( |
uint32_t |
base, |
|
|
uint32_t |
intr_num |
|
) |
| |
◆ irq_mask()
| uint32_t irq_mask |
( |
uint32_t |
mask | ) |
|
◆ irq_set_priority()
| void irq_set_priority |
( |
uint32_t |
irq, |
|
|
uint32_t |
priority |
|
) |
| |
◆ irq_unmask()
◆ irq_handler
| __BEGIN_CDECLS typedef int(* irq_handler) (uint32_t irq, void *arg) |
( |
uint32_t |
irq, |
|
|
void * |
arg |
|
) |
| |