Go to the source code of this file.
◆ ARCH_IRQ_CONNECT
#define ARCH_IRQ_CONNECT |
( |
| irq_p, |
|
|
| priority_p, |
|
|
| isr_p, |
|
|
| isr_param_p, |
|
|
| flags_p ) |
Value: { \
Z_ISR_DECLARE(irq_p, 0, isr_p, isr_param_p); \
}
Configure a static interrupt.
All arguments must be computable by the compiler at build time.
- Parameters
-
irq_p | IRQ line number |
priority_p | Interrupt priority |
isr_p | Interrupt service routine |
isr_param_p | ISR parameter |
flags_p | IRQ options |
- Returns
- The vector assigned to this interrupt
◆ ARCH_STACK_PTR_ALIGN
#define ARCH_STACK_PTR_ALIGN 16 |
◆ CP0_STATUS_DEF_RESTORE
#define CP0_STATUS_DEF_RESTORE (ST0_EXL | ST0_IE) |
◆ OP_LOADREG
◆ OP_STOREREG
◆ STACK_ROUND_UP
#define STACK_ROUND_UP |
( |
| x | ) |
|
Value:
#define ARCH_STACK_PTR_ALIGN
Definition arch.h:98
#define ROUND_UP(x, align)
Value of x rounded up to the next multiple of align.
Definition util.h:329
◆ arch_irq_disable()
void arch_irq_disable |
( |
unsigned int | irq | ) |
|
◆ arch_irq_enable()
void arch_irq_enable |
( |
unsigned int | irq | ) |
|
◆ arch_irq_is_enabled()
int arch_irq_is_enabled |
( |
unsigned int | irq | ) |
|
◆ arch_irq_lock()
◆ arch_irq_unlock()
◆ arch_irq_unlocked()
◆ arch_k_cycle_get_32()
static uint32_t arch_k_cycle_get_32 |
( |
void | | ) |
|
|
inlinestatic |
◆ arch_k_cycle_get_64()
static uint64_t arch_k_cycle_get_64 |
( |
void | | ) |
|
|
inlinestatic |
◆ arch_nop()
◆ sys_clock_cycle_get_32()
uint32_t sys_clock_cycle_get_32 |
( |
void | | ) |
|
|
extern |
◆ sys_clock_cycle_get_64()
uint64_t sys_clock_cycle_get_64 |
( |
void | | ) |
|
|
extern |