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

#include <SdCard.hh>

Public Types

enum  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 14 of file SdCard.hh.

Member Enumeration Documentation

◆ Mode

Enumerator
COMMAND 
READ 
MULTI_READ 
WRITE 
MULTI_WRITE 

Definition at line 26 of file SdCard.hh.

Constructor & Destructor Documentation

◆ SdCard()

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

Definition at line 37 of file SdCard.cc.

References COMMAND, and SdCard().

Referenced by SdCard().

◆ ~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.

◆ transfer()

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

Definition at line 70 of file SdCard.cc.

References COMMAND, MULTI_READ, MULTI_WRITE, and WRITE.


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