theCore C++ embedded framework
|
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) |
SDSPI card information struct.
Used primarily for debugging.
|
friend |
uint8_t ecl::sdspi_card_info::mid |
Card manufacturer ID.
char ecl::sdspi_card_info::oid[3] |
OEM/APP ID. 2 chars string, last one is for NUL.
char ecl::sdspi_card_info::pnm[6] |
Product name. 5 chars string, last one is for NUL.
uint8_t ecl::sdspi_card_info::prv_high |
Extracted product revision number, high.
uint8_t ecl::sdspi_card_info::prv_low |
Extracted product revision number, low.
uint32_t ecl::sdspi_card_info::psn |
32 bits wide serial number.
uint16_t ecl::sdspi_card_info::mdt_year |
The manufacturing date, year.
uint8_t ecl::sdspi_card_info::mdt_month |
The manufacturing date, month.
uint16_t ecl::sdspi_card_info::ocr_volt |
Voltage bits. ocr[15] -> ocr_volt[0] and so on.
bool ecl::sdspi_card_info::type_hc |
True if card is high capacity.