diff options
Diffstat (limited to 'firmware/fx2/usrp1/usrp_gpif_inline.h')
| -rw-r--r-- | firmware/fx2/usrp1/usrp_gpif_inline.h | 27 | 
1 files changed, 27 insertions, 0 deletions
diff --git a/firmware/fx2/usrp1/usrp_gpif_inline.h b/firmware/fx2/usrp1/usrp_gpif_inline.h new file mode 100644 index 000000000..77a741a8b --- /dev/null +++ b/firmware/fx2/usrp1/usrp_gpif_inline.h @@ -0,0 +1,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) +  | 
