distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
distortos::devices::anonymous_namespace{SdCard.cpp}::R2Response Class Reference

R2 response. More...

Collaboration diagram for distortos::devices::anonymous_namespace{SdCard.cpp}::R2Response:
[legend]

Public Types

using RawR2Response = LongResponse
 type of raw R2 response More...
 

Public Member Functions

constexpr R2Response (const RawR2Response r2)
 R2Response's constructor. More...
 
Cid getCid () const
 
Csd getCsd () const
 

Private Attributes

RawR2Response r2_
 raw R2 response data More...
 

Detailed Description

R2 response.

Member Typedef Documentation

◆ RawR2Response

using distortos::devices::anonymous_namespace{SdCard.cpp}::R2Response::RawR2Response = LongResponse

type of raw R2 response

Constructor & Destructor Documentation

◆ R2Response()

constexpr distortos::devices::anonymous_namespace{SdCard.cpp}::R2Response::R2Response ( const RawR2Response  r2)
inlineexplicit

R2Response's constructor.

Parameters
[in]r2is the raw R2 response data

Member Function Documentation

◆ getCid()

Cid distortos::devices::anonymous_namespace{SdCard.cpp}::R2Response::getCid ( ) const
inline
Returns
CID, valid only if this response contains CID

◆ getCsd()

Csd distortos::devices::anonymous_namespace{SdCard.cpp}::R2Response::getCsd ( ) const
inline
Returns
CSD, valid only if this response contains CSD

Member Data Documentation

◆ r2_

RawR2Response distortos::devices::anonymous_namespace{SdCard.cpp}::R2Response::r2_
private

raw R2 response data


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