exception.h File Reference
#include "pico.h"
#include "hardware/address_mapped.h"
#include "hardware/regs/m0plus.h"

Go to the source code of this file.

Macros

#define PARAM_ASSERTIONS_ENABLED_EXCEPTION   0
 

Typedefs

typedef void(* exception_handler_t) (void)
 Exception handler function type. More...
 

Enumerations

enum  exception_number {
  NMI_EXCEPTION = -14 , HARDFAULT_EXCEPTION = -13 , SVCALL_EXCEPTION = -5 , PENDSV_EXCEPTION = -2 ,
  SYSTICK_EXCEPTION = -1
}
 Exception number definitions. More...
 

Functions

exception_handler_t exception_set_exclusive_handler (enum exception_number num, exception_handler_t handler)
 Set the exception handler for an exception on the executing core. More...
 
void exception_restore_handler (enum exception_number num, exception_handler_t original_handler)
 Restore the original exception handler for an exception on this core. More...
 
exception_handler_t exception_get_vtable_handler (enum exception_number num)
 Get the current exception handler for the specified exception from the currently installed vector table of the execution core. More...