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

#include <AmdFlash.hh>

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

Public Member Functions

std::weak_ordering operator<=> (const Sector &sector) const
 
bool operator== (const Sector &sector) const
 

Public Attributes

size_t address
 
power_of_two< size_t > size
 
bool writeProtect
 
ptrdiff_t writeAddress = -1
 
const uint8_t * readAddress = nullptr
 

Detailed Description

Definition at line 237 of file AmdFlash.hh.

Member Function Documentation

◆ operator<=>()

std::weak_ordering openmsx::AmdFlash::Sector::operator<=> ( const Sector sector) const
inline

Definition at line 244 of file AmdFlash.hh.

References address.

◆ operator==()

bool openmsx::AmdFlash::Sector::operator== ( const Sector sector) const
inline

Definition at line 245 of file AmdFlash.hh.

References address.

Member Data Documentation

◆ address

size_t openmsx::AmdFlash::Sector::address

◆ readAddress

const uint8_t* openmsx::AmdFlash::Sector::readAddress = nullptr

Definition at line 242 of file AmdFlash.hh.

Referenced by openmsx::AmdFlash::getReadCacheLine(), and openmsx::AmdFlash::peek().

◆ size

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

Definition at line 239 of file AmdFlash.hh.

◆ writeAddress

ptrdiff_t openmsx::AmdFlash::Sector::writeAddress = -1

Definition at line 241 of file AmdFlash.hh.

◆ writeProtect

bool openmsx::AmdFlash::Sector::writeProtect

Definition at line 240 of file AmdFlash.hh.


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