#include "pico.h"
#include "hardware/address_mapped.h"
#include "hardware/regs/intctrl.h"
#include "hardware/regs/m0plus.h"
Go to the source code of this file.
Typedefs | |
typedef void(* | irq_handler_t) (void) |
Interrupt handler function type. More... | |
Functions | |
static void | check_irq_param (__unused uint num) |
void | irq_set_priority (uint num, uint8_t hardware_priority) |
Set specified interrupt's priority. More... | |
uint | irq_get_priority (uint num) |
Get specified interrupt's priority. More... | |
void | irq_set_enabled (uint num, bool enabled) |
Enable or disable a specific interrupt on the executing core. More... | |
bool | irq_is_enabled (uint num) |
Determine if a specific interrupt is enabled on the executing core. More... | |
void | irq_set_mask_enabled (uint32_t mask, bool enabled) |
Enable/disable multiple interrupts on the executing core. More... | |
void | irq_set_exclusive_handler (uint num, irq_handler_t handler) |
Set an exclusive interrupt handler for an interrupt on the executing core. More... | |
irq_handler_t | irq_get_exclusive_handler (uint num) |
Get the exclusive interrupt handler for an interrupt on the executing core. More... | |
void | irq_add_shared_handler (uint num, irq_handler_t handler, uint8_t order_priority) |
Add a shared interrupt handler for an interrupt on the executing core. More... | |
void | irq_remove_handler (uint num, irq_handler_t handler) |
Remove a specific interrupt handler for the given irq number on the executing core. More... | |
irq_handler_t | irq_get_vtable_handler (uint num) |
Get the current IRQ handler for the specified IRQ from the currently installed hardware vector table (VTOR) of the execution core. More... | |
static void | irq_clear (uint int_num) |
Clear a specific interrupt on the executing core. More... | |
void | irq_set_pending (uint num) |
Force an interrupt to be pending on the executing core. More... | |
void | irq_init_priorities (void) |
Perform IRQ priority initialization for the current core. More... | |
void irq_init_priorities | ( | void | ) |
Perform IRQ priority initialization for the current core.