11 #ifndef CTR_SDMMC_IMPLEMENTATION_H_ 12 #define CTR_SDMMC_IMPLEMENTATION_H_ 56 static inline int ctr_sdmmc_implementation_read(
void *buffer,
size_t buffer_size, uint64_t position,
size_t count,
sdmmc_readsectors read);
83 static inline int ctr_sdmmc_implementation_read_sector(
void *buffer,
size_t buffer_size,
size_t sector,
size_t count,
sdmmc_readsectors read);
99 static inline int ctr_sdmmc_implementation_write_sector(
const void *buffer,
size_t buffer_size,
size_t sector,
sdmmc_writesectors write);
105 #include "ctr_sdmmc_implementation.c" 107 #endif//CTR_SDMMC_IMPLEMENTATION_H_ int(* sdmmc_writesectors)(uint32_t sector_no, uint32_t numsectors, const uint8_t *in)
Pointer to an sdmmc function for writing sectors.
Definition: ctr_sdmmc_implementation.h:44
int(* sdmmc_readsectors)(uint32_t sector_no, uint32_t numsectors, uint8_t *out)
Pointer to an sdmmc function for reading sectors.
Definition: ctr_sdmmc_implementation.h:30