theCore C++ embedded framework
ecl::sdspi_card_info Struct Reference

SDSPI card information struct. More...

#include </home/travis/build/forGGe/theCore/dev/sdspi/export/dev/sdspi.hpp>

Data Fields

uint8_t mid
 Card manufacturer ID. More...
 
char oid [3]
 OEM/APP ID. 2 chars string, last one is for NUL. More...
 
char pnm [6]
 Product name. 5 chars string, last one is for NUL. More...
 
uint8_t prv_high
 Extracted product revision number, high. More...
 
uint8_t prv_low
 Extracted product revision number, low. More...
 
uint32_t psn
 32 bits wide serial number. More...
 
uint16_t mdt_year
 The manufacturing date, year. More...
 
uint8_t mdt_month
 The manufacturing date, month. More...
 
uint16_t ocr_volt
 Voltage bits. ocr[15] -> ocr_volt[0] and so on. More...
 
bool type_hc
 True if card is high capacity. More...
 

Friends

template<class dev >
ostream< dev > & operator<< (ostream< dev > &left, const sdspi_card_info &s)
 

Detailed Description

SDSPI card information struct.

Used primarily for debugging.

Friends And Related Function Documentation

◆ operator<<

template<class dev >
ostream<dev>& operator<< ( ostream< dev > &  left,
const sdspi_card_info s 
)
friend

Field Documentation

◆ mid

uint8_t ecl::sdspi_card_info::mid

Card manufacturer ID.

◆ oid

char ecl::sdspi_card_info::oid[3]

OEM/APP ID. 2 chars string, last one is for NUL.

◆ pnm

char ecl::sdspi_card_info::pnm[6]

Product name. 5 chars string, last one is for NUL.

◆ prv_high

uint8_t ecl::sdspi_card_info::prv_high

Extracted product revision number, high.

◆ prv_low

uint8_t ecl::sdspi_card_info::prv_low

Extracted product revision number, low.

◆ psn

uint32_t ecl::sdspi_card_info::psn

32 bits wide serial number.

◆ mdt_year

uint16_t ecl::sdspi_card_info::mdt_year

The manufacturing date, year.

◆ mdt_month

uint8_t ecl::sdspi_card_info::mdt_month

The manufacturing date, month.

◆ ocr_volt

uint16_t ecl::sdspi_card_info::ocr_volt

Voltage bits. ocr[15] -> ocr_volt[0] and so on.

◆ type_hc

bool ecl::sdspi_card_info::type_hc

True if card is high capacity.


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