mirror of
https://github.com/wiiu-env/wiiu-nanddumper-payload.git
synced 2024-11-16 16:39:18 +01:00
13 lines
324 B
C
13 lines
324 B
C
|
#ifndef _SDIO_H_
|
||
|
#define _SDIO_H_
|
||
|
|
||
|
#define SDIO_WRITE 0
|
||
|
#define SDIO_READ 1
|
||
|
|
||
|
void sdcard_init(void);
|
||
|
void sdcard_lock_mutex(void);
|
||
|
void sdcard_unlock_mutex(void);
|
||
|
int sdcard_readwrite(int is_read, void *data, u32 cnt, u32 block_size, u32 offset_blocks, int * out_callback_arg, int device_id);
|
||
|
|
||
|
#endif // _SDIO_H_
|