openMSX
Public Types | Public Member Functions | List of all members
openmsx::SdCard Class Reference

#include <SdCard.hh>

Public Types

enum class  Mode {
  COMMAND , READ , MULTI_READ , WRITE ,
  MULTI_WRITE
}
 

Public Member Functions

 SdCard (const DeviceConfig &config)
 
 ~SdCard ()
 
byte transfer (byte value, bool cs)
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 

Detailed Description

Definition at line 15 of file SdCard.hh.

Member Enumeration Documentation

◆ Mode

enum class openmsx::SdCard::Mode
strong
Enumerator
COMMAND 
READ 
MULTI_READ 
WRITE 
MULTI_WRITE 

Definition at line 27 of file SdCard.hh.

Constructor & Destructor Documentation

◆ SdCard()

openmsx::SdCard::SdCard ( const DeviceConfig config)
explicit

Definition at line 38 of file SdCard.cc.

◆ ~SdCard()

openmsx::SdCard::~SdCard ( )
default

Member Function Documentation

◆ serialize()

template<typename Archive >
void openmsx::SdCard::serialize ( Archive &  ar,
unsigned  version 
)

Definition at line 335 of file SdCard.cc.

References openmsx::SectorBuffer::raw.

◆ transfer()

byte openmsx::SdCard::transfer ( byte  value,
bool  cs 
)

The documentation for this class was generated from the following files: