aboutsummaryrefslogtreecommitdiff
path: root/later/sd.h
blob: 30d973b0257062a12f31cd741f2d6d98d58f2e38 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef DRIVERS_SD_H
#define DRIVERS_SD_H

#define SD_OK                0
#define SD_TIMEOUT          (unsigned long)-1
#define SD_ERROR            (unsigned long)-2

int sd_init();
int sd_readblock(unsigned int lba, unsigned char *buffer, unsigned int num);

#endif