|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
File-scope runtime state shared across the ra8_flash TUs. More...
#include <ra8_flash_internal.h>
Data Fields | |
| ra8_flash_callback_t | cb |
| Registered IRQ callback (or NULL). | |
| void * | user_ctx |
| Caller pointer passed to cb. | |
| bool | initialized |
| True after ra8_flash_init. | |
| bool | prefetch_on |
| Last-known MRCPFB state. | |
| uintptr_t | win_low |
| Soft access-window low (incl). | |
| uintptr_t | win_high |
| Soft access-window high (excl). | |
File-scope runtime state shared across the ra8_flash TUs.
Cleared at init. Used by the IRQ dispatcher to find the registered callback and to detect callers that try to use APIs before init. The single definition lives in ra8_flash.c; the configuration and IRQ TUs reference it via the g_flash_rt extern below.
Definition at line 54 of file ra8_flash_internal.h.
| ra8_flash_callback_t ra8_flash_runtime_t::cb |
Registered IRQ callback (or NULL).
Definition at line 55 of file ra8_flash_internal.h.
| bool ra8_flash_runtime_t::initialized |
True after ra8_flash_init.
Definition at line 57 of file ra8_flash_internal.h.
| bool ra8_flash_runtime_t::prefetch_on |
Last-known MRCPFB state.
Definition at line 58 of file ra8_flash_internal.h.
| void* ra8_flash_runtime_t::user_ctx |
Caller pointer passed to cb.
Definition at line 56 of file ra8_flash_internal.h.
| uintptr_t ra8_flash_runtime_t::win_high |
Soft access-window high (excl).
Definition at line 60 of file ra8_flash_internal.h.
| uintptr_t ra8_flash_runtime_t::win_low |
Soft access-window low (incl).
Definition at line 59 of file ra8_flash_internal.h.