8 #include "sensor_common.h" const uint8_t MBL_MW_ACC_ACCEL_Y_AXIS_INDEX
Indices for component values of the acceleration data signal, used with mbl_mw_datasignal_get_compone...
Definition: accelerometer.h:17
METAWEAR_API void mbl_mw_acc_read_config(const MblMwMetaWearBoard *board, void *context, MblMwFnBoardPtrInt completed)
Pulls the current accelerometer output data rate and data range from the sensor.
const uint8_t MBL_MW_ACC_ACCEL_Z_AXIS_INDEX
Indices for component values of the acceleration data signal, used with mbl_mw_datasignal_get_compone...
Definition: accelerometer.h:18
METAWEAR_API MblMwDataSignal * mbl_mw_acc_get_packed_acceleration_data_signal(const MblMwMetaWearBoard *board)
Variant of acceleration data that packs multiple data samples into 1 BLE packet to increase the data ...
METAWEAR_API void mbl_mw_acc_write_acceleration_config(const MblMwMetaWearBoard *board)
Writes the acceleration settings to the board.
METAWEAR_API float mbl_mw_acc_set_range(MblMwMetaWearBoard *board, float range)
Sets the full scale range.
METAWEAR_API float mbl_mw_acc_set_odr(MblMwMetaWearBoard *board, float odr)
Sets the output data rate.
METAWEAR_API MblMwDataSignal * mbl_mw_acc_get_high_freq_acceleration_data_signal(const MblMwMetaWearBoard *board)
const uint8_t MBL_MW_ACC_ACCEL_X_AXIS_INDEX
Indices for component values of the acceleration data signal, used with mbl_mw_datasignal_get_compone...
Definition: accelerometer.h:16
METAWEAR_API MblMwDataSignal * mbl_mw_acc_get_acceleration_data_signal(const MblMwMetaWearBoard *board)
Retrieves the data signal representing acceleration data.
METAWEAR_API void mbl_mw_acc_enable_acceleration_sampling(const MblMwMetaWearBoard *board)
Enables acceleration sampling.
METAWEAR_API void mbl_mw_acc_disable_acceleration_sampling(const MblMwMetaWearBoard *board)
Disables acceleration sampling.
METAWEAR_API void mbl_mw_acc_stop(const MblMwMetaWearBoard *board)
Switches the accelerometer to standby mode.
METAWEAR_API void mbl_mw_acc_start(const MblMwMetaWearBoard *board)
Switches the accelerometer to active 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