Adds functions to wait for data to be read, and to read data form the sd card controller.
12 lines
211 B
C
12 lines
211 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);
|
|
uint8_t sd_card_read_byte();
|
|
void sd_card_wait_for_data();
|
|
|
|
#endif |