MetaWear C++ API  0.18.0
C++ implementation of the MetaWear protocol
multichanneltemperature.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include "sensor_common.h"
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
19 typedef enum {
26 
30 typedef enum {
34 
38 typedef enum {
44 
51 
60 METAWEAR_API void mbl_mw_multi_chnl_temp_configure_ext_thermistor(const MblMwMetaWearBoard *board, uint8_t channel, uint8_t data_pin,
61  uint8_t pulldown_pin, uint8_t active_high);
62 
75 
76 #ifdef __cplusplus
77 }
78 #endif
Temperature from the BMP280 sensor.
Definition: multichanneltemperature.h:42
METAWEAR_API MblMwDataSignal * mbl_mw_multi_chnl_temp_get_temperature_data_signal(const MblMwMetaWearBoard *board, uint8_t channel)
Retrieves the data signal representing a temperature source.
METAWEAR_API MblMwTemperatureSource mbl_mw_multi_chnl_temp_get_source(const MblMwMetaWearBoard *board, uint8_t channel)
Retrieve the temperature source type corresponding to a channel ID.
Temperature from an external thermistor.
Definition: multichanneltemperature.h:32
METAWEAR_API void mbl_mw_multi_chnl_temp_configure_ext_thermistor(const MblMwMetaWearBoard *board, uint8_t channel, uint8_t data_pin, uint8_t pulldown_pin, uint8_t active_high)
Configure the external thermistor.
struct MblMwMetaWearBoard MblMwMetaWearBoard
Software representation of a physical MetaWear board.
Definition: metawearboard_fwd.h:17
Temperature from the nRF chip.
Definition: multichanneltemperature.h:39
Temperature from an external thermistor.
Definition: multichanneltemperature.h:41
METAWEAR_API uint8_t mbl_mw_multi_chnl_temp_get_num_channels(const MblMwMetaWearBoard *board)
Retrieve the number of available channels.
Temperature from the nRF chip.
Definition: multichanneltemperature.h:21
Temperature from an internal thremistor.
Definition: multichanneltemperature.h:24
Temperature from the nRF chip.
Definition: multichanneltemperature.h:31
Temperature from the BMP280 sensor.
Definition: multichanneltemperature.h:23
Temperature from the on board thermistor.
Definition: multichanneltemperature.h:40
Tempertaure from an external thermistor.
Definition: multichanneltemperature.h:22
MblMwMetaWearRProChannel
CHannel IDs for the temperature sources on the MetaWear RPro board.
Definition: multichanneltemperature.h:38
MblMwTemperatureSource
Enumeration of the available temperature sourcs.
Definition: multichanneltemperature.h:19
Invalid temperature source.
Definition: multichanneltemperature.h:20
#define METAWEAR_API
Indicates the function should be exported to the symbol table.
Definition: dllmarker.h:27
MblMwMetaWearRChannel
Channel IDs for the temperature sources on the MetaWear R board.
Definition: multichanneltemperature.h:30
struct MblMwDataSignal MblMwDataSignal
A event fired from the MetaWear board that also contains data.
Definition: datasignal_fwd.h:15