ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
secure_exception.c
Go to the documentation of this file.
1
36
37#include <stdint.h>
38
39#include "ra8_exception.h"
40
70void SecureFault_Handler(void);
71[[gnu::naked, noreturn]] void SecureFault_Handler(void)
72{
73 __asm__ volatile("tst lr, #4 \n"
74 "ite eq \n"
75 "mrseq r0, msp \n"
76 "mrsne r0, psp \n"
77 "mov r1, #7 \n"
78 "b ra8_exception_report\n");
79}
void SecureFault_Handler(void)
Cortex-M85 SecureFault handler (NVIC vector 7).
Cortex-M85 CPU exception diagnostic helpers.