mikroSDK Reference Manual
|
Physical Drive Base Data Structure Reference. More...
Data Fields | |
physical_drive_vector_table_t * | vtptr |
physical_drive_type_t | type |
uint32_t | sector_count |
uint16_t | sector_size |
uint16_t | erase_block_size |
uint8_t | volumes |
uint8_t | error |
Keeps track of the relevant data for the physical drive and manages communication with hardware memory module, with it's vector table that point to correct function for particular physical drive implementation. It's intended usage is, as a base structure of a derived structures, eg. sdspi_logical_drive_t. It is not intended to be used independently.
physical_drive_vector_table_t* physical_drive_t::vtptr |
Physical drive vector table. See physical_drive_vector_table_t structure.
physical_drive_type_t physical_drive_t::type |
Type of physical drive. See physical_drive_type_t enum.
uint32_t physical_drive_t::sector_count |
Number of sectors on this physical drive.
uint16_t physical_drive_t::sector_size |
Sector size in unit of bytes, on this physical drive.
uint16_t physical_drive_t::erase_block_size |
Erase block size on this physical drive.
uint8_t physical_drive_t::volumes |
Number of logical drives mounted on this physical drive
uint8_t physical_drive_t::error |
Tracks APIs statuses and errors on this physical drive