mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-14 20:18:13 +00:00
11 lines
269 B
C
11 lines
269 B
C
#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);
|
|
bool_t write_block(uint32_t startblk, uint8_t *buf, uint32_t n);
|
|
|
|
#endif /* __DISKIO_H__ */ |