Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
ra8_err_t ra8_flash_status(ra8_flash_status_t *out)
Decode the controller status into a flat ra8_flash_status_t.
ra8_err_t ra8_flash_set_window(uintptr_t low, uintptr_t high)
Configure the soft access window enforced by write/erase.
ra8_err_t ra8_flash_lock_set(uintptr_t addr, uint16_t lock_bits)
Programme MRCBPROT0/1 lock bits at addr.
ra8_err_t ra8_flash_suspend(void)
Pause an in-flight MRAM program/erase operation.
ra8_err_t ra8_flash_open(const ra8_flash_cfg_t *cfg)
FSP-parity bring-up: equivalent to ra8_flash_init.
ra8_err_t ra8_flash_write(uintptr_t address, const uint8_t *src, uint32_t len)
Program len bytes into code-MRAM starting at address.
ra8_err_t ra8_flash_erase(uintptr_t address, uint32_t num_blocks)
Erase num_blocks consecutive 32-byte MRAM blocks.
ra8_err_t ra8_flash_resume(void)
Resume a previously-paused MRAM operation.
ra8_err_t ra8_flash_blank_check(uintptr_t address, uint32_t len, bool *out_blank)
Check whether a region holds the erase pattern (all 0xFF).
ra8_err_t ra8_flash_close(void)
FSP-parity tear-down: equivalent to ra8_flash_deinit.
Flash / MRAM controller register layout for the Renesas RA8D2.
Code MRAM driver – shared types (enums, structs, callback typedef).
Initialisation descriptor for ra8_flash_init.
Decoded status snapshot, FSP-parity surface.