mikroSDK Reference Manual
|
SD SPI Physical Drive Data Structure. More...
Data Fields | |
physical_drive_t | base |
spi_master_t | spi |
digital_out_t | cs |
sdspi_card_type_t | card_type |
bool | is_initialized |
Manages communication with SD Card hardware memory module via SPI bus, using its vector table vtptr
inside base
structure, which points to functions that implement communication with SD Card hardware memory module via SPI bus. It also identifies and represents SD Card hardware memory module, by keeping all the relevant data about it. It is derived from physical_drive_t structure.
physical_drive_t sdspi_physical_drive_t::base |
Physical Drive base data structure. It It identifies and represents sdspi_physical_drive_t
with physical drive API functions.
spi_master_t sdspi_physical_drive_t::spi |
SPI Master data used for the purposes of communication with SD Card.
digital_out_t sdspi_physical_drive_t::cs |
Digital Out data used for the purposes of communication with SD Card.
sdspi_card_type_t sdspi_physical_drive_t::card_type |
SD Card type. See sdspi_card_type_t enum.
bool sdspi_physical_drive_t::is_initialized |
Indicated whether SD Card hardware memory module is initialized