#include <sd_raw.h>
Data Fields | |
| uint8_t | manufacturer |
| uint8_t | oem [3] |
| uint8_t | product [6] |
| uint8_t | revision |
| uint32_t | serial |
| uint8_t | manufacturing_year |
| uint8_t | manufacturing_month |
| offset_t | capacity |
| uint8_t | flag_copy |
| uint8_t | flag_write_protect |
| uint8_t | flag_write_protect_temp |
| uint8_t | format |
Definition at line 56 of file sd_raw.h.
| uint8_t sd_raw_info::manufacturer |
A manufacturer code globally assigned by the SD card organization.
Definition at line 61 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
| uint8_t sd_raw_info::oem[3] |
A string describing the card's OEM or content, globally assigned by the SD card organization.
Definition at line 65 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
| uint8_t sd_raw_info::product[6] |
A product name.
Definition at line 69 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
| uint8_t sd_raw_info::revision |
The card's revision, coded in packed BCD.
For example, the revision value 0x32 means "3.2".
Definition at line 75 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
| uint32_t sd_raw_info::serial |
A serial number assigned by the manufacturer.
Definition at line 79 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
| uint8_t sd_raw_info::manufacturing_year |
The year of manufacturing.
A value of zero means year 2000.
Definition at line 85 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
| uint8_t sd_raw_info::manufacturing_month |
The month of manufacturing.
Definition at line 89 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
The card's total capacity in bytes.
Definition at line 93 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
| uint8_t sd_raw_info::flag_copy |
Defines wether the card's content is original or copied.
A value of 0 means original, 1 means copied.
Definition at line 99 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
| uint8_t sd_raw_info::flag_write_protect |
Defines wether the card's content is write-protected.
Definition at line 106 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
Defines wether the card's content is temporarily write-protected.
Definition at line 113 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
| uint8_t sd_raw_info::format |
The card's data layout.
See the SD_RAW_FORMAT_* constants for details.
Definition at line 121 of file sd_raw.h.
Referenced by WaspSD::print_disk_info(), and sd_raw_get_info().
1.5.6