28 lines
393 B
C
28 lines
393 B
C
|
#ifndef SDMMC_MODULE_H
|
||
|
#define SDMMC_MODULE_H
|
||
|
|
||
|
|
||
|
#include "generic/typedef.h"
|
||
|
#include "generic/ioctl.h"
|
||
|
|
||
|
|
||
|
#define SD_CMD_DECT 0
|
||
|
#define SD_CLK_DECT 1
|
||
|
#define SD_IO_DECT 2
|
||
|
|
||
|
#define SD_CLASS_0 0
|
||
|
#define SD_CLASS_2 1
|
||
|
#define SD_CLASS_4 2
|
||
|
#define SD_CLASS_6 3
|
||
|
#define SD_CLASS_10 4
|
||
|
|
||
|
#define SD_IOCTL_GET_CLASS _IOR('S', 0, 4)
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|