|
MetaWear C++ API
0.18.0
C++ implementation of the MetaWear protocol
|
Holds data until a certain amount has been collected. More...
#include "processor_common.h"Go to the source code of this file.
Functions | |
| METAWEAR_API int32_t | mbl_mw_dataprocessor_sample_create (MblMwDataSignal *source, uint8_t bin_size, void *context, MblMwFnDataProcessor processor_created) |
| Create a sample delay processor. More... | |
| METAWEAR_API int32_t | mbl_mw_dataprocessor_sample_modify_bin_size (MblMwDataProcessor *sample_delay, uint8_t bin_size) |
| Modify the bin size of a sample delay processor. More... | |
Holds data until a certain amount has been collected.
| METAWEAR_API int32_t mbl_mw_dataprocessor_sample_create | ( | MblMwDataSignal * | source, |
| uint8_t | bin_size, | ||
| void * | context, | ||
| MblMwFnDataProcessor | processor_created | ||
| ) |
Create a sample delay processor.
A pointer representing the processor will be passed back to the user via a callback function.
| source | Data signal providing the input for the processor |
| bin_size | Number of samples to hold before letting data through |
| context | Pointer to additional data for the callback function |
| processor_created | Callback function to be executed when the processor is created |
| METAWEAR_API int32_t mbl_mw_dataprocessor_sample_modify_bin_size | ( | MblMwDataProcessor * | sample_delay, |
| uint8_t | bin_size | ||
| ) |
Modify the bin size of a sample delay processor.
| sample_delay | Sample processor to modify |
| bin_size | Number of samples to hold before letting data through |
1.8.14