GNU Radio's HOWTO Package
gpif_inline.h
Go to the documentation of this file.
1 /*
2  * Machine generated by "edit-gpif". Do not edit by hand.
3  */
4 
5 #define setup_flowstate_common() \
6 do { \
7  FLOWSTATE = 0x80; \
8  FLOWLOGIC = 0xed; \
9  FLOWEQ0CTL = 0x00; \
10  FLOWEQ1CTL = 0x00; \
11  FLOWHOLDOFF = 0x00; \
12  FLOWSTB = 0x00; \
13  FLOWSTBEDGE = 0x03; \
14 FLOWSTBHPERIOD = 0x02; \
15 GPIFHOLDAMOUNT = 0x00; \
16 } while (0)
17 
18 #define setup_flowstate_read() \
19 do { \
20  FLOWLOGIC = 0xed; \
21 } while (0)
22 
23 #define setup_flowstate_write() \
24 do { \
25  FLOWLOGIC = 0xee; \
26 } while (0)
27