Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cpldwriter.h « Inc « Core « STM32_bootloader - github.com/ClusterM/famicom-dumper-writer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 439946afc88f9230d860bc67b7bdaa9bad167d62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef INC_CPLDWRITER_H_
#define INC_CPLDWRITER_H_

#include "fatfs.h"

struct udata_s {
  FIL *fil;
  uint8_t buff[SVF_BUFFER_SIZE];
  unsigned int pos;
  unsigned int size;
  int freq;
};

void write_cpld(FILINFO *svf_file);
int find_svf_file(FILINFO *svf_file);

#endif /* INC_CPLDWRITER_H_ */