Code: Select all
CONST
SCB_SHCSR = MCU.NVICBase + 0D24H;
MEMFAULTENA = 16;
BUSFAULTENA = 17;
USGFAULTENA = 18;
PROCEDURE Init*;
(* init vectors and stuff *)
SYSTEM.PUT(SCB_SHCSR, {MEMFAULTENA , BUSFAULTENA, USGFAULTENA})
END Init;
Code: Select all
CONST
SCB_SHCSR = MCU.NVICBase + 0D24H;
MEMFAULTENA = 16;
BUSFAULTENA = 17;
USGFAULTENA = 18;
PROCEDURE Init*;
(* init vectors and stuff *)
SYSTEM.PUT(SCB_SHCSR, {MEMFAULTENA , BUSFAULTENA, USGFAULTENA})
END Init;