MetaWear C++ API
0.18.0
C++ implementation of the MetaWear protocol
|
Interacts with conductance measurement sources. More...
#include "sensor_common.h"
Go to the source code of this file.
Enumerations | |
enum | MblMwConductanceRange { MBL_MW_CONDUCTANCE_RANGE_50uS = 0, MBL_MW_CONDUCTANCE_RANGE_100uS, MBL_MW_CONDUCTANCE_RANGE_150uS, MBL_MW_CONDUCTANCE_RANGE_200uS } |
Enumeration of the available conductance measurment ranges. | |
Functions | |
METAWEAR_API MblMwDataSignal * | mbl_mw_conductance_get_data_signal (const MblMwMetaWearBoard *board, uint8_t channel) |
Retrieves the data signal representing a conductance source. More... | |
METAWEAR_API uint8_t | mbl_mw_conductance_get_num_channels (const MblMwMetaWearBoard *board) |
Retrieve the number of available channels. More... | |
METAWEAR_API void | mbl_mw_conductance_calibrate (const MblMwMetaWearBoard *board) |
Trigger the automatic calibration routine. More... | |
METAWEAR_API void | mbl_mw_conductance_set_range (MblMwMetaWearBoard *board, MblMwConductanceRange range) |
Sets the conductance measurment mode. More... | |
Interacts with conductance measurement sources.
METAWEAR_API void mbl_mw_conductance_calibrate | ( | const MblMwMetaWearBoard * | board | ) |
Trigger the automatic calibration routine.
Fully self contained and requires no parameters. This should be called at least once after boot
METAWEAR_API MblMwDataSignal* mbl_mw_conductance_get_data_signal | ( | const MblMwMetaWearBoard * | board, |
uint8_t | channel | ||
) |
Retrieves the data signal representing a conductance source.
board | Board to retrieve the signal from |
channel | Channel ID of the conductance source |
METAWEAR_API uint8_t mbl_mw_conductance_get_num_channels | ( | const MblMwMetaWearBoard * | board | ) |
Retrieve the number of available channels.
METAWEAR_API void mbl_mw_conductance_set_range | ( | MblMwMetaWearBoard * | board, |
MblMwConductanceRange | range | ||
) |
Sets the conductance measurment mode.
board | Pointer to the board to modify |
range | Range of the conductance values |