view frbl/test/srecreader.h @ 345:b595ff13547b

fluid-mnf/target.c: ported, passed compilation
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 13 Mar 2020 06:11:33 +0000
parents cefa700d1b8f
children
line wrap: on
line source

/* this header file defines the data structures for the SREC reader module */

struct srecreader {
	char		*filename;
	FILE		*openfile;
	int		lineno;
	u_char		record[256];	/* binary */
	char		record_type;	/* ASCII char */
	u_char		datalen;
	uint32_t	addr;
};