summaryrefslogtreecommitdiffstats
path: root/firmware/fx2/usrp1/usrp_gpif_inline.h
blob: 77a741a8beb673fc29ecdf2b6e586bfea7582380 (plain)
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
/*
 * Machine generated by "edit-gpif".  Do not edit by hand.
 */

#define setup_flowstate_common()	\
do {					\
     FLOWSTATE = 0x81;			\
     FLOWLOGIC = 0x2d;			\
    FLOWEQ0CTL = 0x26;			\
    FLOWEQ1CTL = 0x00;			\
   FLOWHOLDOFF = 0x04;			\
       FLOWSTB = 0x04;			\
   FLOWSTBEDGE = 0x03;			\
FLOWSTBHPERIOD = 0x02;			\
GPIFHOLDAMOUNT = 0x00;			\
} while (0)

#define setup_flowstate_read()	\
do {					\
    FLOWEQ0CTL = 0x26;			\
} while (0)

#define setup_flowstate_write()	\
do {					\
    FLOWEQ0CTL = 0x21;			\
} while (0)