Polls the sd controller until the read flag is set, at which point it reads 32 bits of data from the controller. long response codes (such as CID) are not supported in hw or sw.
10 lines
152 B
C
10 lines
152 B
C
#ifndef _SD_CARD_H
|
|
#define _SD_CARD_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void sd_card_command(uint32_t arg, uint8_t cmd);
|
|
|
|
void sd_card_resp(uint32_t* resp);
|
|
|
|
#endif |