#define RA8_NSC_VENEER
Mark a TrustZone Secure-to-Non-Secure entry-point veneer.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Non-Secure Callable veneers – the only NS->S gateway.
Macros for declaring Non-Secure Callable veneer functions.
ra8_err_t ra8_nsc_wdt_start(void)
NSC veneer: arm the Secure WDT with the e-reader configuration.
static const ra8_wdt_cfg_t s_wdt_cfg
Fixed Secure-side WDT configuration used by ra8_nsc_wdt_start.
void ra8_nsc_wdt_refresh(void)
NSC veneer: refresh the Secure WDT down-counter.
Software Watchdog Timer (WDT) driver header.
void ra8_wdt_refresh_deferred(void)
Refresh the software WDT counter (WDT0).
@ k_ra8_wdt_timeout_1024
1024 cycles.
@ k_ra8_wdt_clkdiv_4
PCLKB / 4.
ra8_err_t ra8_wdt_init(const ra8_wdt_cfg_t *cfg)
Initialise the WDT in register-start mode.
@ k_ra8_wdt_window_start_100
100 % (no upper bound).
@ k_ra8_wdt_on_expiry_nmi
RSTIRQS=0 – route to NMI / IRQ.
@ k_ra8_wdt_sleep_stop_count
SLCSTP=1 – counter halts in Sleep.
@ k_ra8_wdt_window_end_0
0 % (no lower bound).
Register-start-mode configuration block.