mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2025-01-27 03:45:26 +01:00
22 lines
447 B
C
22 lines
447 B
C
|
#ifndef SD_H__
|
||
|
#define SD_H__
|
||
|
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
|
||
|
#define SD_SECTOR_SIZE (512)
|
||
|
|
||
|
|
||
|
bool sd_card_init (void);
|
||
|
void sd_card_deinit (void);
|
||
|
uint32_t sd_card_get_status (void);
|
||
|
bool sd_card_get_info (uint32_t address);
|
||
|
bool sd_write_sectors (uint32_t address, uint32_t sector, uint32_t count);
|
||
|
bool sd_read_sectors (uint32_t address, uint32_t sector, uint32_t count);
|
||
|
void sd_init (void);
|
||
|
void sd_process (void);
|
||
|
|
||
|
|
||
|
#endif
|