comparison loadtools/srecreader.h @ 8:acaac9162574

loadtools modules coming along
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 30 Apr 2013 21:35:14 +0000
parents aa1f6fe16fef
children
comparison
equal deleted inserted replaced
7:aa1f6fe16fef 8:acaac9162574
1 /* this header file defines the data structures for the SREC reader module */ 1 /* this header file defines the data structures for the SREC reader module */
2 2
3 struct srecreader { 3 struct srecreader {
4 char *filename; 4 char *filename;
5 FILE *openfile; 5 FILE *openfile;
6 int lineno; 6 int lineno;
7 u_char record[256]; /* binary */ 7 u_char record[256]; /* binary */
8 char record_type; /* ASCII char */ 8 char record_type; /* ASCII char */
9 u_char datalen; 9 u_char datalen;
10 u_long addr; 10 uint32_t addr;
11 }; 11 };