ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_flash_status_t Struct Reference

Decoded status snapshot, FSP-parity surface. More...

#include <ra8_flash_types.h>

Data Fields

bool programming_busy
 MRCPS.PRGBSYC or MENTRYR.MENTRY set.
bool erase_busy
 Same as programming_busy on MRAM.
bool illegal_command
 MASTAT.CMDLK or MSTATR.ILGCOMERR.
bool voltage_error
 MSTATR.OTERR (other / supply error).
bool sector_protected
 MRCBPROT0/1 lock observed.
bool program_error
 MRCPS.PRGERRC.
bool ecc_error
 MRCPS.ECCERRC.

Detailed Description

Decoded status snapshot, FSP-parity surface.

Mirrors the flash_status_t field set R_MRAM exposes in FSP, but widened so callers can also see the controller-error bits without a second ra8_flash_get_extended_status call. Populated by ra8_flash_status. HUM Ch 59 p 3577..3578.

Definition at line 131 of file ra8_flash_types.h.

Field Documentation

◆ ecc_error

bool ra8_flash_status_t::ecc_error

MRCPS.ECCERRC.

Definition at line 138 of file ra8_flash_types.h.

Referenced by ra8_flash_status().

◆ erase_busy

bool ra8_flash_status_t::erase_busy

Same as programming_busy on MRAM.

Definition at line 133 of file ra8_flash_types.h.

Referenced by ra8_flash_status().

◆ illegal_command

bool ra8_flash_status_t::illegal_command

MASTAT.CMDLK or MSTATR.ILGCOMERR.

Definition at line 134 of file ra8_flash_types.h.

Referenced by ra8_flash_status().

◆ program_error

bool ra8_flash_status_t::program_error

MRCPS.PRGERRC.

Definition at line 137 of file ra8_flash_types.h.

Referenced by ra8_flash_status().

◆ programming_busy

bool ra8_flash_status_t::programming_busy

MRCPS.PRGBSYC or MENTRYR.MENTRY set.

Definition at line 132 of file ra8_flash_types.h.

Referenced by ra8_flash_status().

◆ sector_protected

bool ra8_flash_status_t::sector_protected

MRCBPROT0/1 lock observed.

Definition at line 136 of file ra8_flash_types.h.

Referenced by ra8_flash_status().

◆ voltage_error

bool ra8_flash_status_t::voltage_error

MSTATR.OTERR (other / supply error).

Definition at line 135 of file ra8_flash_types.h.

Referenced by ra8_flash_status().


The documentation for this struct was generated from the following file: