|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Initialisation descriptor for ra8_flash_init. More...
#include <ra8_flash_types.h>
Data Fields | |
| uint16_t | mrcfreq_mhz |
| Code MRAM clock in MHz, 0..0x0FA (250 MHz). | |
| uint8_t | mrefreq_mhz |
| Extra MRAM clock in MHz, 0..0x07D (125 MHz). | |
| bool | prefetch_en |
| true -> leave prefetch enabled at init. | |
| bool | ecc_encoder_enable |
| true -> MRCEECC.ECCEN=1 (default). | |
| bool | ecc_decoder_enable |
| true -> MRCDECC.DECECEN=1 (default). | |
Initialisation descriptor for ra8_flash_init.
MRAM has no MSTP gate (it is the code memory and is always powered) so the only thing the driver needs at init time is the operating frequency the silicon should advertise to the controller via MRCFREQ. cppcheck cannot see callers in tests/ so it flags every field as unused; the suppress comment matches what ra8_acmphs.h does.
Definition at line 96 of file ra8_flash_types.h.
| bool ra8_flash_cfg_t::ecc_decoder_enable |
true -> MRCDECC.DECECEN=1 (default).
Definition at line 101 of file ra8_flash_types.h.
Referenced by ra8_flash_init().
| bool ra8_flash_cfg_t::ecc_encoder_enable |
true -> MRCEECC.ECCEN=1 (default).
Definition at line 100 of file ra8_flash_types.h.
Referenced by ra8_flash_init().
| uint16_t ra8_flash_cfg_t::mrcfreq_mhz |
Code MRAM clock in MHz, 0..0x0FA (250 MHz).
Definition at line 97 of file ra8_flash_types.h.
Referenced by ra8_flash_init().
| uint8_t ra8_flash_cfg_t::mrefreq_mhz |
Extra MRAM clock in MHz, 0..0x07D (125 MHz).
Definition at line 98 of file ra8_flash_types.h.
Referenced by ra8_flash_init().
| bool ra8_flash_cfg_t::prefetch_en |
true -> leave prefetch enabled at init.
Definition at line 99 of file ra8_flash_types.h.
Referenced by ra8_flash_init().