MetaWear C++ API  0.18.0
C++ implementation of the MetaWear protocol
conductance.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include "sensor_common.h"
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
17 typedef enum {
18  MBL_MW_CONDUCTANCE_RANGE_50uS= 0,
19  MBL_MW_CONDUCTANCE_RANGE_100uS,
20  MBL_MW_CONDUCTANCE_RANGE_150uS,
21  MBL_MW_CONDUCTANCE_RANGE_200uS,
23 
24 
31 
37 
43 
50 
51 #ifdef __cplusplus
52 }
53 #endif
METAWEAR_API void mbl_mw_conductance_calibrate(const MblMwMetaWearBoard *board)
Trigger the automatic calibration routine.
struct MblMwMetaWearBoard MblMwMetaWearBoard
Software representation of a physical MetaWear board.
Definition: metawearboard_fwd.h:17
MblMwConductanceRange
Enumeration of the available conductance measurment ranges.
Definition: conductance.h:17
METAWEAR_API uint8_t mbl_mw_conductance_get_num_channels(const MblMwMetaWearBoard *board)
Retrieve the number of available channels.
METAWEAR_API MblMwDataSignal * mbl_mw_conductance_get_data_signal(const MblMwMetaWearBoard *board, uint8_t channel)
Retrieves the data signal representing a conductance source.
METAWEAR_API void mbl_mw_conductance_set_range(MblMwMetaWearBoard *board, MblMwConductanceRange range)
Sets the conductance measurment mode.
#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