openMSX
Public Member Functions | Public Attributes | List of all members
openmsx::AmdFlash::Geometry Struct Reference

#include <AmdFlash.hh>

Collaboration diagram for openmsx::AmdFlash::Geometry:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 62 of file AmdFlash.hh.

Constructor & Destructor Documentation

◆ Geometry()

constexpr openmsx::AmdFlash::Geometry::Geometry ( DeviceInterface  deviceInterface_,
std::initializer_list< Region regions_,
int  writeProtectPinRange_ = 0 
)
inlineconstexpr

Definition at line 63 of file AmdFlash.hh.

Member Function Documentation

◆ validate()

constexpr void openmsx::AmdFlash::Geometry::validate ( ) const
inlineconstexpr

Member Data Documentation

◆ deviceInterface

DeviceInterface openmsx::AmdFlash::Geometry::deviceInterface

Definition at line 73 of file AmdFlash.hh.

Referenced by openmsx::AmdFlash::peek().

◆ regions

static_vector<Region, 4> openmsx::AmdFlash::Geometry::regions

Definition at line 74 of file AmdFlash.hh.

Referenced by validate().

◆ sectorCount

size_t openmsx::AmdFlash::Geometry::sectorCount

Definition at line 77 of file AmdFlash.hh.

Referenced by validate().

◆ size

power_of_two<size_t> openmsx::AmdFlash::Geometry::size

Definition at line 76 of file AmdFlash.hh.

◆ writeProtectPinRange

int openmsx::AmdFlash::Geometry::writeProtectPinRange

Definition at line 75 of file AmdFlash.hh.

Referenced by validate().


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