54 __asm__
volatile(
"cpsid i" :::
"memory");
79 __asm__
volatile(
"bkpt #0");
108 __asm__
volatile(
"wfi");
Annotation-attribute framework macros for ra8-firmware.
#define RA8_INTERNAL
Marker that a function is intended to be static (file-local).
void ra8_fatal_error(const char *tag, const char *message, uint32_t err)
Fatal-error trap: log and halt the system.
static void internal_wfi(void)
Architectural __WFI wrapper used inside the halt loop.
static void internal_disable_irq(void)
Architectural __disable_irq: PRIMASK write.
static void internal_bkpt(void)
Architectural __BKPT(0) wrapper.
Centralised fatal-error sink.
Lightweight Logging Interface for ra8-firmware.
#define ra8_log_error_val(tag, message, value)
RA8 log error val.
#define ra8_log_error(tag, message)
RA8 log error.