File Index
Files and directories
Sign in
FILE

ad5791.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/iio/dac/ad5791.h C
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * AD5791 SPI DAC driver
 4 *
 5 * Copyright 2011 Analog Devices Inc.
 6 */
 7
 8#ifndef SPI_AD5791_H_
 9#define SPI_AD5791_H_
10
11/**
12 * struct ad5791_platform_data - platform specific information
13 * @vref_pos_mv:	Vdd Positive Analog Supply Volatge (mV)
14 * @vref_neg_mv:	Vdd Negative Analog Supply Volatge (mV)
15 * @use_rbuf_gain2:	ext. amplifier connected in gain of two configuration
16 */
17
18struct ad5791_platform_data {
19	u16				vref_pos_mv;
20	u16				vref_neg_mv;
21	bool				use_rbuf_gain2;
22};
23
24#endif /* SPI_AD5791_H_ */
~/ Read-only file preview.