41 #define SD_RAW_FORMAT_HARDDISK 0 45 #define SD_RAW_FORMAT_SUPERFLOPPY 1 49 #define SD_RAW_FORMAT_UNIVERSAL 2 53 #define SD_RAW_FORMAT_UNKNOWN 3 127 typedef uint8_t (*sd_raw_read_interval_handler_t)(uint8_t* buffer, offset_t offset,
void* p);
128 typedef uintptr_t (*sd_raw_write_interval_handler_t)(uint8_t* buffer, offset_t offset,
void* p);
134 uint8_t
sd_raw_read(offset_t offset, uint8_t* buffer, uintptr_t length);
135 uint8_t
sd_raw_read_interval(offset_t offset, uint8_t* buffer, uintptr_t interval, uintptr_t length, sd_raw_read_interval_handler_t callback,
void* p);
136 uint8_t
sd_raw_write(offset_t offset,
const uint8_t* buffer, uintptr_t length);
137 uint8_t
sd_raw_write_interval(offset_t offset, uint8_t* buffer, uintptr_t length, sd_raw_write_interval_handler_t callback,
void* p);
uint8_t sd_raw_read_interval(offset_t offset, uint8_t *buffer, uintptr_t interval, uintptr_t length, sd_raw_read_interval_handler_t callback, void *p)
uint8_t sd_raw_get_info(struct sd_raw_info *info)
uint8_t manufacturing_month
SD-Card Reader Bibliothek von Roland Riegel.
uint8_t manufacturing_year
uint8_t sd_raw_read(offset_t offset, uint8_t *buffer, uintptr_t length)
uint8_t flag_write_protect
uint8_t sd_raw_write_interval(offset_t offset, uint8_t *buffer, uintptr_t length, sd_raw_write_interval_handler_t callback, void *p)
uint8_t flag_write_protect_temp
uint8_t sd_raw_available()
uint8_t sd_raw_write(offset_t offset, const uint8_t *buffer, uintptr_t length)