mayhem-firmware/firmware/baseband/sd_over_usb/diskio.h

11 lines
269 B
C
Raw Normal View History

2023-04-01 15:21:57 +00:00
#ifndef __DISKIO_H__
#define __DISKIO_H__
#include <stdint.h>
#include <chtypes.h>
uint32_t get_capacity(void);
bool_t read_block(uint32_t startblk, uint8_t *buf, uint32_t n);
2023-04-01 15:39:08 +00:00
bool_t write_block(uint32_t startblk, uint8_t *buf, uint32_t n);
2023-04-01 15:21:57 +00:00
#endif /* __DISKIO_H__ */