libctr9
Nintendo 3DS ARM9 library
|
#include <ctr9/io/ctr_nand_interface.h>
#include <ctr9/io/ctr_nand_crypto_interface.h>
#include <ctr9/io/ctr_sd_interface.h>
Go to the source code of this file.
Functions | |
int | ctr_fatfs_initialize (ctr_nand_interface *nand_io, ctr_nand_crypto_interface *ctr_io, ctr_nand_crypto_interface *twl_io, ctr_sd_interface *sd_io) |
Initializes the entire IO subsystem. More... | |
int ctr_fatfs_initialize | ( | ctr_nand_interface * | nand_io, |
ctr_nand_crypto_interface * | ctr_io, | ||
ctr_nand_crypto_interface * | twl_io, | ||
ctr_sd_interface * | sd_io | ||
) |
Initializes the entire IO subsystem.
This is a helper function that takes in pointers to all necessary io interfaces to hook up to the fatfs layer, and initializes them and prepares fatfs for usage.
[in,out] | nand_io | NAND io interface to initialize. May be used independetly after initialization so long as it is not being simultaneously used by fatfs. |
[in,out] | ctr_io | CTRNAND io crypto interface to initialize. May be used independetly after initialization so long as it is not being simultaneously used by fatfs. |
[in,out] | twl_io | TWL io crypto interface to initialize. May be used independetly after initialization so long as it is not being simultaneously used by fatfs. |
[in,out] | sd_io | SD card io interface to initialize. May be used independetly after initialization so long as it is not being simultaneously used by fatfs. |