shorten em4x05 capture samples

add cap option for 4469
add sample size option for  DoAcquisition so i can limit how many
samples i want to collect.
use with DoPartialAcquisition
This commit is contained in:
marshmellow42 2017-02-20 17:39:39 -05:00
parent 893534d3b5
commit a37228c8c2
4 changed files with 17 additions and 9 deletions

View file

@ -24,9 +24,11 @@ uint32_t SampleLF(bool silent);
* Initializes the FPGA for snoop-mode (field off), and acquires the samples.
* @return number of bits sampled
**/
uint32_t SnoopLF();
// adds sample size to default options
uint32_t DoPartialAcquisition(int trigger_threshold, bool silent, int sample_size);
/**
* @brief Does sample acquisition, ignoring the config values set in the sample_config.
* This method is typically used by tag-specific readers who just wants to read the samples