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
41
42#include <stdint.h>
43
44#include "ra8_exception.h"
45
75void SecureFault_Handler(void);
76[[gnu::naked, noreturn]] void SecureFault_Handler(void)
77{
78 __asm__ volatile("tst lr, #4 \n"
79 "ite eq \n"
80 "mrseq r0, msp \n"
81 "mrsne r0, psp \n"
82 "mov r1, #7 \n"
83 "b ra8_exception_report\n");
84}
void SecureFault_Handler(void)
Cortex-M85 SecureFault handler (NVIC vector 7).
Cortex-M85 CPU exception diagnostic helpers.