1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 20:50:33 +00:00
gnss-sdr/firmware/GN3S_v2/include/gpif_inline.h

28 lines
538 B
C
Raw Normal View History

/*
* 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)