It serves as a low-level driver for the higher level modules such as partition and file system access.
Files | |
file | sd_raw.c |
MMC/SD raw access implementation. | |
file | sd_raw.h |
MMC/SD raw access header. | |
file | sd_raw_config.h |
MMC/SD support configuration. | |
Modules | |
MMC/SD configuration | |
Preprocessor defines to configure the MMC/SD support. | |
Functions | |
uint8_t | sd_raw_init () |
Initializes memory card communication. | |
uint8_t | sd_raw_available () |
Checks wether a memory card is located in the slot. | |
uint8_t | sd_raw_locked () |
Checks wether the memory card is locked for write access. | |
uint8_t | sd_raw_read (uint32_t offset, uint8_t *buffer, uint16_t length) |
Reads raw data from the card. | |
uint8_t | sd_raw_read_interval (uint32_t offset, uint8_t *buffer, uint16_t interval, uint16_t length, sd_raw_interval_handler callback, void *p) |
Continuously reads units of interval bytes and calls a callback function. | |
uint8_t | sd_raw_write (uint32_t offset, const uint8_t *buffer, uint16_t length) |
Writes raw data to the card. |
|
Checks wether a memory card is located in the slot.
|
|
Initializes memory card communication.
|
|
Checks wether the memory card is locked for write access.
|
|
Reads raw data from the card.
|
|
Continuously reads units of
This function starts reading at the specified offset. Every By returning zero, the callback may stop reading.
|
|
Writes raw data to the card.
|