linux/drivers/iio/pressure/ms5611.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * MS5611 pressure and temperature sensor driver
 *
 * Copyright (c) Tomasz Duszynski <[email protected]>
 *
 */

#ifndef _MS5611_H
#define _MS5611_H

#include <linux/device.h>
#include <linux/iio/iio.h>
#include <linux/mutex.h>

#define MS5611_RESET
#define MS5611_READ_ADC
#define MS5611_READ_PROM_WORD
#define MS5611_PROM_WORDS_NB

enum {};

/*
 * OverSampling Rate descriptor.
 * Warning: cmd MUST be kept aligned on a word boundary (see
 * m5611_spi_read_adc_temp_and_pressure in ms5611_spi.c).
 */
struct ms5611_osr {};

struct ms5611_state {};

int ms5611_probe(struct iio_dev *indio_dev, struct device *dev,
		 const char *name, int type);

#endif /* _MS5611_H */