2009-05-03 20:53:31 +02:00
|
|
|
#ifndef _SDHC_H_
|
|
|
|
#define _SDHC_H_
|
|
|
|
|
|
|
|
/* Constants */
|
2010-09-19 01:16:05 +02:00
|
|
|
#define SDHC_SECTOR_SIZE 0x200
|
2009-05-03 20:53:31 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2010-09-19 01:16:05 +02:00
|
|
|
extern "C"
|
|
|
|
{
|
2009-05-03 20:53:31 +02:00
|
|
|
#endif
|
|
|
|
|
2009-07-30 07:41:12 +02:00
|
|
|
/* Prototypes */
|
2010-09-24 02:48:03 +02:00
|
|
|
bool SDHC_Init(void);
|
|
|
|
bool SDHC_Close(void);
|
|
|
|
bool SDHC_ReadSectors(u32, u32, void *);
|
|
|
|
bool SDHC_WriteSectors(u32, u32, void *);
|
2010-09-19 01:16:05 +02:00
|
|
|
extern int sdhc_mode_sd;
|
2009-05-03 20:53:31 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|