libctr9
Nintendo 3DS ARM9 library
|
#include "ctr_sdmmc_implementation.c"
Go to the source code of this file.
Typedefs | |
typedef int(* | sdmmc_readsectors) (uint32_t sector_no, uint32_t numsectors, uint8_t *out) |
Pointer to an sdmmc function for reading sectors. More... | |
typedef int(* | sdmmc_writesectors) (uint32_t sector_no, uint32_t numsectors, const uint8_t *in) |
Pointer to an sdmmc function for writing sectors. More... | |
typedef int(* sdmmc_readsectors) (uint32_t sector_no, uint32_t numsectors, uint8_t *out) |
Pointer to an sdmmc function for reading sectors.
Pointer to sdmmc function for reading sectors. A sector is defined by sdmmc to be 0x200 or 512 bytes.
[in] | sector_no | Sector to read. |
[in] | numsectors | The number of sectors to read. |
[out] | out | Pointer to buffer to store read data. The buffer must be able to hold the number of sectors requested. |
typedef int(* sdmmc_writesectors) (uint32_t sector_no, uint32_t numsectors, const uint8_t *in) |
Pointer to an sdmmc function for writing sectors.
Pointer to sdmmc function for writing sectors. A sector is defined by sdmmc to be 0x200 or 512 bytes.
[in] | sector_no | Sector to write. |
[in] | numsectors | The number of sectors to write. |
[out] | in | Pointer to buffer with data to write. The buffer must contain the specified number of sectors to write to prevent a buffer overflow. |