view loadtools/srecreader.h @ 958:ca6e969be6ee

rvinterf suite: raise MAX_PKT_FROM_TARGET to 1600
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 08 Jun 2023 02:47:48 +0000
parents e7502631a0f9
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;
};