1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-17 23:34:56 +00:00
gnss-sdr/firmware/GN3S_v2/include/gpif_inline.h
Javier Arribas b849b20a8c Added optional support for Sparkfun SiGe GN3S USB GPS RF sampler:
- Added a pre-compiled custom GN3S firmware.
- Added a fully-compliant GNU Radio source block for GN3S USB dongle. It can be used also from GNU Radio companion and from Python applications.
- Added a new GN3S_Signal_Source block. It is possible to disable the GN3S signal source compilation. See README.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@217 64b25241-fba3-4117-9849-534c7e92360d
2012-07-30 15:46:07 +00:00

28 lines
538 B
C

/*
* Machine generated by "edit-gpif". Do not edit by hand.
*/
#define setup_flowstate_common() \
do { \
FLOWSTATE = 0x80; \
FLOWLOGIC = 0xed; \
FLOWEQ0CTL = 0x00; \
FLOWEQ1CTL = 0x00; \
FLOWHOLDOFF = 0x00; \
FLOWSTB = 0x00; \
FLOWSTBEDGE = 0x03; \
FLOWSTBHPERIOD = 0x02; \
GPIFHOLDAMOUNT = 0x00; \
} while (0)
#define setup_flowstate_read() \
do { \
FLOWLOGIC = 0xed; \
} while (0)
#define setup_flowstate_write() \
do { \
FLOWLOGIC = 0xee; \
} while (0)