File: pu_defs.h

package info (click to toggle)
nitpic 0.1-16
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 208 kB
  • ctags: 300
  • sloc: cpp: 2,212; ansic: 408; asm: 144; makefile: 55
file content (28 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* pu_defs.h					*/
/* definitions for the pic read/write routines	*/
/* I.King 1994					*/

#define MAXPICSIZE 32768

typedef struct picdefn
	{
		unsigned short	picmemmap[MAXPICSIZE];
		int		pictype;
		int		picid[4];
		float		clock;
		int		osctype;
		int		cp_fuse;
		int		wd_fuse;
		int		pu_fuse;
	} PICDEFN;

#define PU_OK	1
#define PU_FAIL	0

extern void PU_Clear();
extern int  PU_WriteHeader();
extern int  PU_WriteBlock();
extern int  PU_WriteTrailer();
extern int	PU_Read(const char *filename, PICDEFN *pic, int *top);

/* ... The End ... */