openMSX
|
#include <AmdFlash.hh>
Public Member Functions | |
constexpr | Geometry (DeviceInterface deviceInterface_, std::initializer_list< Region > regions_, int writeProtectPinRange_=0) |
constexpr void | validate () const |
Public Attributes | |
DeviceInterface | deviceInterface |
static_vector< Region, 4 > | regions |
int | writeProtectPinRange |
power_of_two< size_t > | size |
size_t | sectorCount |
Definition at line 62 of file AmdFlash.hh.
|
inlineconstexpr |
Definition at line 63 of file AmdFlash.hh.
|
inlineconstexpr |
Definition at line 79 of file AmdFlash.hh.
References cstd::abs(), ranges::all_of(), regions, sectorCount, and writeProtectPinRange.
Referenced by openmsx::AmdFlash::Chip::validate().
DeviceInterface openmsx::AmdFlash::Geometry::deviceInterface |
Definition at line 73 of file AmdFlash.hh.
Referenced by openmsx::AmdFlash::peek().
static_vector<Region, 4> openmsx::AmdFlash::Geometry::regions |
Definition at line 74 of file AmdFlash.hh.
Referenced by validate().
size_t openmsx::AmdFlash::Geometry::sectorCount |
Definition at line 77 of file AmdFlash.hh.
Referenced by validate().
power_of_two<size_t> openmsx::AmdFlash::Geometry::size |
Definition at line 76 of file AmdFlash.hh.
int openmsx::AmdFlash::Geometry::writeProtectPinRange |
Definition at line 75 of file AmdFlash.hh.
Referenced by validate().