From ca855593091fb9cf0a15fe4273a31dbabccc2643 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 1 Jan 2020 20:47:27 +0100 Subject: [PATCH] some function def (hitag) --- armsrc/lfsampling.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/armsrc/lfsampling.h b/armsrc/lfsampling.h index b17a871ba..21968cdd2 100644 --- a/armsrc/lfsampling.h +++ b/armsrc/lfsampling.h @@ -52,6 +52,13 @@ uint32_t DoAcquisition_default(int trigger_threshold, bool silent); uint32_t DoAcquisition_config(bool silent, int sample_size); +/** + * Refactoring of lf sampling buffer + */ +void initSamplingBuffer(void); +void logSample(uint8_t sample, uint8_t decimation, uint32_t bits_per_sample, bool averaging, int trigger_threshold); +uint32_t getSampleCounter(); + /** * Setup the FPGA to listen for samples. This method downloads the FPGA bitstream * if not already loaded, sets divisor and starts up the antenna.