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

CSD version 2.0, card-specific data register. More...

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

Public Types

using RawCsdV2 = LongResponse
 type of raw CSD version 2.0 data More...
 

Public Member Functions

constexpr CsdV2 (const RawCsdV2 csdV2)
 CsdV2's constructor. More...
 
uint32_t getCSize () const
 

Private Attributes

RawCsdV2 csdV2_
 raw CSD version 2.0 data More...
 

Detailed Description

CSD version 2.0, card-specific data register.

Member Typedef Documentation

◆ RawCsdV2

using distortos::devices::anonymous_namespace{SdCard.cpp}::CsdV2::RawCsdV2 = LongResponse

type of raw CSD version 2.0 data

Constructor & Destructor Documentation

◆ CsdV2()

constexpr distortos::devices::anonymous_namespace{SdCard.cpp}::CsdV2::CsdV2 ( const RawCsdV2  csdV2)
inlineexplicit

CsdV2's constructor.

Parameters
[in]csdV2is the raw CSD version 2.0 data

Member Function Documentation

◆ getCSize()

uint32_t distortos::devices::anonymous_namespace{SdCard.cpp}::CsdV2::getCSize ( ) const
inline
Returns
value of C_SIZE (device size) bit field

Member Data Documentation

◆ csdV2_

RawCsdV2 distortos::devices::anonymous_namespace{SdCard.cpp}::CsdV2::csdV2_
private

raw CSD version 2.0 data


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