driver.h
579 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
*
*
*
*
*/
#ifndef DRIVER_INCLUDE
#define DRIVER_INCLUDE
#include "ints.h"
typedef struct {
/* required */
char *label;
int gclk_old;
int argc;
char **argv;
/* input */
int gclk;
/* output */
int reset;
int cs_st_prim;
int cs_st_attr;
int cs_cmd; /* [5:0] */
int64 cs_ew_d; /* [63:0] */
int st_span;
/* extras */
int count;
/* valids */
int dv;
int dv_d1;
} driver_t;
/*
* Prototypes
*/
void driver(driver_t **pp0, driver_t **pp1);
void driver_init(driver_t *p0, driver_t *p1);
#endif /* DRIVER_INCLUDE */