Files
super6502/sw/sd_card.h
Byron Lathi f4e16c0c12 Add software interface for reading SD card data
Adds functions to wait for data to be read, and to read data form the sd
card controller.
2022-04-11 14:03:42 -05:00

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