FreeCalypso > hg > freecalypso-sw
annotate loadtools/srecreader.h @ 805:f219798c74ea
aci: line_edit.c and line_split.c done
| author | Space Falcon <falcon@ivan.Harhan.ORG> | 
|---|---|
| date | Sun, 05 Apr 2015 05:15:08 +0000 | 
| parents | acaac9162574 | 
| children | 
| rev | line source | 
|---|---|
| 
7
 
aa1f6fe16fef
loadtools building blocks started
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
1 /* this header file defines the data structures for the SREC reader module */ | 
| 
 
aa1f6fe16fef
loadtools building blocks started
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
2 | 
| 
 
aa1f6fe16fef
loadtools building blocks started
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
3 struct srecreader { | 
| 
8
 
acaac9162574
loadtools modules coming along
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents: 
7 
diff
changeset
 | 
4 char *filename; | 
| 
 
acaac9162574
loadtools modules coming along
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents: 
7 
diff
changeset
 | 
5 FILE *openfile; | 
| 
 
acaac9162574
loadtools modules coming along
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents: 
7 
diff
changeset
 | 
6 int lineno; | 
| 
 
acaac9162574
loadtools modules coming along
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents: 
7 
diff
changeset
 | 
7 u_char record[256]; /* binary */ | 
| 
 
acaac9162574
loadtools modules coming along
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents: 
7 
diff
changeset
 | 
8 char record_type; /* ASCII char */ | 
| 
 
acaac9162574
loadtools modules coming along
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents: 
7 
diff
changeset
 | 
9 u_char datalen; | 
| 
 
acaac9162574
loadtools modules coming along
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents: 
7 
diff
changeset
 | 
10 uint32_t addr; | 
| 
7
 
aa1f6fe16fef
loadtools building blocks started
 
Michael Spacefalcon <msokolov@ivan.Harhan.ORG> 
parents:  
diff
changeset
 | 
11 }; | 
