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.
This commit is contained in:
Byron Lathi
2022-04-11 14:03:42 -05:00
parent 87d1457d94
commit f4e16c0c12
4 changed files with 29 additions and 0 deletions

View File

@@ -6,5 +6,7 @@
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