Skip to content

Commit

Permalink
libbladeRF: Added API definition for FPGA counter mode enable bit
Browse files Browse the repository at this point in the history
  • Loading branch information
jynik committed Oct 21, 2014
1 parent de761af commit 5774aa0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions host/libraries/libbladeRF/include/libbladeRF.h
Original file line number Diff line number Diff line change
Expand Up @@ -2364,6 +2364,17 @@ int CALL_CONV bladerf_lms_get_dc_cals(struct bladerf *dev,
*/
#define BLADERF_GPIO_TX_HB_ENABLE (1 << 3)

/**
* Counter mode enable
*
* Setting this bit to 1 instructs the FPGA to replace the (I, Q) pair in
* sample data with an incrementing, little-endian, 32-bit counter value. A
* 0 in bit specifies that sample data should be sent (as normally done).
*
* This feature is useful when debugging issues involving dropped samples.
*/
#define BLADERF_GPIO_COUNTER_ENABLE (1 << 9)

/**
* Switch to use RX low band (300M - 1.5GHz)
*
Expand Down

0 comments on commit 5774aa0

Please sign in to comment.