1#ifndef ARDUINO_ADXL375_ADXL375_H
2#define ARDUINO_ADXL375_ADXL375_H
8#include "ADXL375_register.h"
9#include "ADXL375_constants.h"
11#include "DynamicFifo.h"
13#define ADXL375_ACC_CONVERSION_FACTOR 0.00981 * 49
26 ADXL375(TwoWire *pipe, uint32_t freq);
34 ADXL375(
byte chipSelect, SPIClass& spi, uint32_t freq);
40 device->protocol_begin();
41 default_configuration();
48 uint8_t set_spi_mode(
bool enable);
50 uint8_t set_INTERRUPT(
int bit_num,
bool set_pin, ADXL375_INTERRUPTS interrupt,
bool enable);
52 uint8_t set_low_DATA_RATE(ADXL375_Low_power_ODR rate);
65 uint8_t set_measure_mode(
bool enable);
67 uint8_t ac_coupled_mode(
bool enable);
69 uint8_t set_fifo_mode(ADXL375_FIFO_MODES mode);
71 uint8_t default_configuration();
79 Vector<double, 3> get_accel();
81 protocol* get_device() {
float self_test()
Definition: ADXL375.cpp:123
uint8_t reset()
Definition: ADXL375.cpp:100
uint8_t set_data_rate(ADXL375_ODR rate)
Definition: ADXL375.cpp:36