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

R3 response. More...

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

Public Types

using RawR3Response = ShortResponse
 type of raw R3 response More...
 

Public Member Functions

constexpr R3Response (const RawR3Response r3)
 R3Response's constructor. More...
 
bool getCardCapacityStatus () const
 
bool isBusy () const
 

Private Attributes

RawR3Response r3_
 raw R3 response data More...
 

Detailed Description

R3 response.

Member Typedef Documentation

◆ RawR3Response

using distortos::devices::anonymous_namespace{SdCard.cpp}::R3Response::RawR3Response = ShortResponse

type of raw R3 response

Constructor & Destructor Documentation

◆ R3Response()

constexpr distortos::devices::anonymous_namespace{SdCard.cpp}::R3Response::R3Response ( const RawR3Response  r3)
inlineexplicit

R3Response's constructor.

Parameters
[in]r3is the raw R3 response data

Member Function Documentation

◆ getCardCapacityStatus()

bool distortos::devices::anonymous_namespace{SdCard.cpp}::R3Response::getCardCapacityStatus ( ) const
inline
Returns
value of card capacity status (CCS) bit field

◆ isBusy()

bool distortos::devices::anonymous_namespace{SdCard.cpp}::R3Response::isBusy ( ) const
inline
Returns
true if card is busy with power up initialization, false otherwise

Member Data Documentation

◆ r3_

RawR3Response distortos::devices::anonymous_namespace{SdCard.cpp}::R3Response::r3_
private

raw R3 response data


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