Files
openbts/TransceiverRAD1/interfaces.h
Kurtis Heimerl 5289a229d9 sync of openbts
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6168 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-08-14 00:52:14 +00:00

21 lines
712 B
C

/*
* We've now split the RAD1 into 3 separate interfaces.
*
* Interface 0 contains only ep0 and is used for command and status.
* Interface 1 is the Tx path and it uses ep2 OUT BULK.
* Interface 2 is the Rx path and it uses ep6 IN BULK.
*/
#define RAD1_CMD_INTERFACE 0
#define RAD1_CMD_ALTINTERFACE 0
#define RAD1_CMD_ENDPOINT 0
#define RAD1_TX_INTERFACE 1
#define RAD1_TX_ALTINTERFACE 0
#define RAD1_TX_ENDPOINT 2 // streaming data from host to FPGA
#define RAD1_RX_INTERFACE 2
#define RAD1_RX_ALTINTERFACE 0
#define RAD1_RX_ENDPOINT 6 // streaming data from FPGA to host