adxl345.h 587 B

1234567891011121314151617181920212223
  1. /*
  2. * ADXL345 3-Axis Digital Accelerometer
  3. *
  4. * Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com>
  5. *
  6. * This file is subject to the terms and conditions of version 2 of
  7. * the GNU General Public License. See the file COPYING in the main
  8. * directory of this archive for more details.
  9. */
  10. #ifndef _ADXL345_H_
  11. #define _ADXL345_H_
  12. enum adxl345_device_type {
  13. ADXL345,
  14. ADXL375,
  15. };
  16. int adxl345_core_probe(struct device *dev, struct regmap *regmap,
  17. enum adxl345_device_type type, const char *name);
  18. int adxl345_core_remove(struct device *dev);
  19. #endif /* _ADXL345_H_ */