Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
flash_simulator_params Struct Reference

Flash simulator parameters structure. More...

#include <zephyr/drivers/flash/flash_simulator.h>

Data Fields

size_t memory_size
 The total size of the memory.
size_t base_offset
 The base offset of the flash simulator.
size_t erase_unit
 The erase unit size.
size_t prog_unit
 The program unit size.
bool explicit_erase
 Whether explicit erase is required.
uint8_t erase_value
 The value used to represent erased memory.

Detailed Description

Flash simulator parameters structure.

Auxiliary structure containing flash simulator parameters to be used by callbacks that can modify the behavior of the flash simulator driver.

Field Documentation

◆ base_offset

size_t flash_simulator_params::base_offset

The base offset of the flash simulator.

◆ erase_unit

size_t flash_simulator_params::erase_unit

The erase unit size.

◆ erase_value

uint8_t flash_simulator_params::erase_value

The value used to represent erased memory.

◆ explicit_erase

bool flash_simulator_params::explicit_erase

Whether explicit erase is required.

◆ memory_size

size_t flash_simulator_params::memory_size

The total size of the memory.

◆ prog_unit

size_t flash_simulator_params::prog_unit

The program unit size.


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