mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04: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__ */ |