Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SD_Info Struct Reference

This struct is used by SD_GetInfo() to return manufacturing and status information of the card. More...

#include <library.h>

Data Fields


Detailed Description

This struct is used by SD_GetInfo() to return manufacturing and status information of the card.


Field Documentation

offset_t SD_Info::capacity
 

The card's total capacity in bytes.

unsigned char SD_Info::flag_copy
 

Defines wether the card's content is original or copied. A value of 0 means original, 1 means copied.

unsigned char SD_Info::flag_write_protect
 

Defines wether the card's content is write-protected. This is an internal flag and does not represent the state of the card's mechanical write-protect switch.

unsigned char SD_Info::flag_write_protect_temp
 

Defines wether the card's content is temporarily write-protected. This is an internal flag and does not represent the state of the card's mechanical write-protect switch.

unsigned char SD_Info::format
 

The card's data layout. This value is not guaranteed to match reality.

unsigned char SD_Info::manufacturer
 

A manufacturer code globally assigned by the SD card organization.

unsigned char SD_Info::manufacturing_month
 

The month of manufacturing.

unsigned char SD_Info::manufacturing_year
 

The year of manufacturing. A value of zero means year 2000.

unsigned char SD_Info::oem[3]
 

A string describing the card's OEM or content, globally assigned by the SD card organization.

unsigned char SD_Info::product[6]
 

A product name.

unsigned char SD_Info::revision
 

The card's revision, coded in packed BCD. For example, the revision value 0x32 means "3.2".

unsigned long SD_Info::serial
 

A serial number assigned by the manufacturer.


The documentation for this struct was generated from the following file:
Generated on Tue Apr 7 20:07:43 2015 for BF592A Library by doxygen 1.3.1