SPI hardware bitbanging from SD CARD

This commit is contained in:
rob-ng15 2020-03-17 09:50:45 +00:00 committed by GitHub
parent 50b6db6a6b
commit d45dda731a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
int spi_sdcard_init(uint32_t device);
int spi_sdcard_read_sector(uint32_t device, unsigned long lba,unsigned char *buf);
unsigned char spi_sdcard_goidle(void);
unsigned char spi_sdcard_readMBR(void);
unsigned char spi_sdcard_readFile(char *, char *, unsigned long);