ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_sram_internal.h
Go to the documentation of this file.
1
27
28#pragma once
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34#include "ra8_sram.h"
35#include "ra8_sram_regs.h"
36
51
62extern void* g_sram_on_error_ctx;
63
75
87
88#ifdef __cplusplus
89}
90#endif
SRAM (with ECC) HAL driver public API.
void(* ra8_sram_error_fn_t)(void *ctx, uint8_t bank, bool is_2bit, uintptr_t err_addr)
ECC error callback signature.
Definition ra8_sram.h:221
ra8_sram_error_fn_t g_sram_on_error
Registered global ECC error callback (NULL until attach).
ra8_sram_error_fn_t g_sram_on_error_bank[k_ra8_sram_bank_count]
Per-bank ECC error callback table (NULL until attach).
void * g_sram_on_error_ctx
Caller context forwarded to g_sram_on_error.
void * g_sram_on_error_bank_ctx[k_ra8_sram_bank_count]
Per-bank context forwarded to g_sram_on_error_bank.
SRAM (with ECC) control / status / security register layout.
@ k_ra8_sram_bank_count
SRAM0, SRAM1, SRAM2, SRAM3.