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

MRAM model state: register shadow + MACI collection + counters. More...

Data Fields

uint32_t regs [k_mram_reg_words]
 0x4013E000 window shadow.
uint32_t pgm_regs [k_mrpgm_words]
 0x4013F000 code-MRAM P/E shadow.
uint32_t msaddr
 Latched MACI target address.
uint8_t payload [k_mram_payload_max]
 Collected config-set bytes.
uint32_t payload_len
 Bytes collected this command.
uint8_t maci_state
 maci_state_t collection state.
uint8_t pe_active
 1 => program/erase mode entered.
uint32_t programs
 Config-set program commands.
uint32_t rejected
 Programs refused: MSADDR illegal.

Detailed Description

MRAM model state: register shadow + MACI collection + counters.

Definition at line 182 of file board_periph_mram.c.

Field Documentation

◆ maci_state

uint8_t mram_state_t::maci_state

maci_state_t collection state.

Definition at line 188 of file board_periph_mram.c.

◆ msaddr

uint32_t mram_state_t::msaddr

Latched MACI target address.

Definition at line 185 of file board_periph_mram.c.

◆ payload

uint8_t mram_state_t::payload[k_mram_payload_max]

Collected config-set bytes.

Definition at line 186 of file board_periph_mram.c.

◆ payload_len

uint32_t mram_state_t::payload_len

Bytes collected this command.

Definition at line 187 of file board_periph_mram.c.

◆ pe_active

uint8_t mram_state_t::pe_active

1 => program/erase mode entered.

Definition at line 189 of file board_periph_mram.c.

◆ pgm_regs

uint32_t mram_state_t::pgm_regs[k_mrpgm_words]

0x4013F000 code-MRAM P/E shadow.

Definition at line 184 of file board_periph_mram.c.

◆ programs

uint32_t mram_state_t::programs

Config-set program commands.

Definition at line 190 of file board_periph_mram.c.

◆ regs

uint32_t mram_state_t::regs[k_mram_reg_words]

0x4013E000 window shadow.

Definition at line 183 of file board_periph_mram.c.

◆ rejected

uint32_t mram_state_t::rejected

Programs refused: MSADDR illegal.

Definition at line 191 of file board_periph_mram.c.


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