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

Per-instance ECC configuration descriptor. More...

#include <ra8_cnecc.h>

Data Fields

bool correct_1bit
 true => HW corrects 1-bit faults (clears EC1ECP).
bool irq_1bit
 true => raise IRQ on every 1-bit fault.
bool irq_2bit
 true => raise IRQ on every 2-bit fault.
bool enable
 true => leave ECERVF set after init.

Detailed Description

Per-instance ECC configuration descriptor.

Mirrors the HUM 42.3.1 procedure (figure 42.1 p 2874): set correct_1bit / irq_1bit / irq_2bit, then enable error judgment (ECERVF). cppcheck is not aware of the cross-TU read in ra8_cnecc.c and flags every member as unused – the suppression below silences it.

Definition at line 93 of file ra8_cnecc.h.

Field Documentation

◆ correct_1bit

bool ra8_cnecc_instance_cfg_t::correct_1bit

true => HW corrects 1-bit faults (clears EC1ECP).

Definition at line 94 of file ra8_cnecc.h.

Referenced by internal_cnecc_ctl_value().

◆ enable

bool ra8_cnecc_instance_cfg_t::enable

true => leave ECERVF set after init.

Definition at line 97 of file ra8_cnecc.h.

Referenced by internal_cnecc_ctl_value().

◆ irq_1bit

bool ra8_cnecc_instance_cfg_t::irq_1bit

true => raise IRQ on every 1-bit fault.

Definition at line 95 of file ra8_cnecc.h.

Referenced by internal_cnecc_ctl_value().

◆ irq_2bit

bool ra8_cnecc_instance_cfg_t::irq_2bit

true => raise IRQ on every 2-bit fault.

Definition at line 96 of file ra8_cnecc.h.

Referenced by internal_cnecc_ctl_value().


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