8 #include "processor_common.h" void(* MblMwFnDataProcessor)(void *context, MblMwDataProcessor *processor)
Definition for callback functions that accept an MblMwDataProcessor pointer.
Definition: dataprocessor_fwd.h:23
Return a sum of all data points in the pulse.
Definition: pulse.h:19
Return a 0x01 as soon as a pulse is detected.
Definition: pulse.h:21
METAWEAR_API int32_t mbl_mw_dataprocessor_pulse_modify(MblMwDataProcessor *pulse, float threshold, uint16_t width)
Modify the configuration of a pulse detector.
METAWEAR_API int32_t mbl_mw_dataprocessor_pulse_create(MblMwDataSignal *source, MblMwPulseOutput output, float threshold, uint16_t width, void *context, MblMwFnDataProcessor processor_created)
Create a pulse detector.
MblMwPulseOutput
Output modes for the processor.
Definition: pulse.h:17
Return number of samples in the pulse.
Definition: pulse.h:18
Return the highest value in the pulse.
Definition: pulse.h:20
struct MblMwDataProcessor MblMwDataProcessor
Data signal from the on board data processor.
Definition: dataprocessor_fwd.h:15
#define METAWEAR_API
Indicates the function should be exported to the symbol table.
Definition: dllmarker.h:27
struct MblMwDataSignal MblMwDataSignal
A event fired from the MetaWear board that also contains data.
Definition: datasignal_fwd.h:15