view frbl/test/srecreader.h @ 351:0ca005dbab30

fluid-mnf/devices.txt: OM support, safe S71PL-J defaults
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 13 Mar 2020 07:19:37 +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;
};