Home
last modified time | relevance | path

Searched +full:dac +full:- +full:bipolar (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/drivers/comedi/drivers/
H A Damplc_pci224.c1 // SPDX-License-Identifier: GPL-2.0+
8 * COMEDI - Linux Control and Measurement Device Interface
22 * - ao_insn read/write
23 * - ao_do_cmd mode with the following sources:
25 * - start_src TRIG_INT TRIG_EXT
26 * - scan_begin_src TRIG_TIMER TRIG_EXT
27 * - convert_src TRIG_NOW
28 * - scan_end_src TRIG_COUNT
29 * - stop_src TRIG_COUNT TRIG_EXT TRIG_NONE
44 * Output range selection - PCI224:
[all …]
H A Damplc_pci230.c1 // SPDX-License-Identifier: GPL-2.0+
8 * COMEDI - Linux Control and Measurement Device Interface
35 * --------- ---------
43 * The AI subdevice has 16 single-ended channels or 8 differential
46 * The PCI230 and PCI260 cards have 12-bit resolution. The PCI230+ and
47 * PCI260+ cards have 16-bit resolution.
51 * or PCI260 then it actually uses a "pseudo-differential" mode where the
62 * 0 => [-10, +10] V
63 * 1 => [-5, +5] V
64 * 2 => [-2.5, +2.5] V
[all …]
H A Dcb_pcimdda.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Computer Boards PCIM-DDA06-16 Comedi driver
7 * COMEDI - Linux Control and Measurement Device Interface
12 * Description: Measurement Computing PCIM-DDA06-16
13 * Devices: [Measurement Computing] PCIM-DDA06-16 (cb_pcimdda)
18 * All features of the PCIM-DDA06-16 board are supported.
19 * This board has 6 16-bit AO channels, and the usual 8255 DIO setup.
23 * The board has a peculiar way of specifying AO gain/range settings -- You have
25 * 5 Volt unipolar, 5V bipolar, 10 Volt unipolar or 10V bipolar.
30 * default setting of +/-5V.
[all …]
H A Drti802.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Comedi driver for Analog Devices RTI-802 board
6 * COMEDI - Linux Control and Measurement Device Interface
12 * Description: Analog Devices RTI-802
14 * Devices: [Analog Devices] RTI-802 (rti802)
18 * [0] - i/o base
19 * [1] - unused
20 * [2,4,6,8,10,12,14,16] - dac#[0-7] 0=two's comp, 1=straight
21 * [3,5,7,9,11,13,15,17] - dac#[0-7] 0=bipolar, 1=unipolar
46 struct rti802_private *devpriv = dev->private; in rti802_ao_insn_write()
[all …]
H A Dicp_multi.c1 // SPDX-License-Identifier: GPL-2.0+
6 * COMEDI - Linux Control and Measurement Device Interface
7 * Copyright (C) 1997-2002 David A. Schleef <ds@schleef.org>
23 * It has 16 single-ended or 8 differential Analogue Input channels with
24 * 12-bit resolution. Ranges : 5V, 10V, +/-5V, +/-10V, 0..20mA and 4..20mA.
28 * There are 4 x 12-bit Analogue Outputs. Ranges : 5V, 10V, +/-5V, +/-10V
34 * 4 x 16-bit counters - not implemented
44 #define ICP_MULTI_ADC_CSR_BI BIT(4) /* Bipolar input range */
50 #define ICP_MULTI_DAC_CSR 0x04 /* R/W: DAC command/status register */
51 #define ICP_MULTI_DAC_CSR_ST BIT(0) /* Start DAC */
[all …]
H A Ddas1800.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Comedi driver for Keithley DAS-1700/DAS-1800 series boards
6 * COMEDI - Linux Control and Measurement Device Interface
14 * Devices: [Keithley Metrabyte] DAS-1701ST (das-1701st),
15 * DAS-1701ST-DA (das-1701st-da), DAS-1701/AO (das-1701ao),
16 * DAS-1702ST (das-1702st), DAS-1702ST-DA (das-1702st-da),
17 * DAS-1702HR (das-1702hr), DAS-1702HR-DA (das-1702hr-da),
18 * DAS-1702/AO (das-1702ao), DAS-1801ST (das-1801st),
19 * DAS-1801ST-DA (das-1801st-da), DAS-1801HC (das-1801hc),
20 * DAS-1801AO (das-1801ao), DAS-1802ST (das-1802st),
[all …]
H A Ddac02.c1 // SPDX-License-Identifier: GPL-2.0+
11 * COMEDI - Linux Control and Measurement Device Interface
18 * Devices: [Keithley Metrabyte] DAC-02 (dac02)
20 * Updated: Tue, 11 Mar 2014 11:27:19 -0700
24 * [0] - I/O port base
34 * ------------- ------ ------------- -----------------
39 * +/-5V 0 21 to 22 23
41 * +/-10V 0 20 to 22 23
45 * AC reference 0 In on pin 22 24 (2-quadrant)
46 * In on pin 22 23 (4-quadrant)
[all …]
H A Daddi_apci_3501.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module.
7 * ADDI-DATA GmbH
9 * D-77833 Ottersweier
10 * Tel: +19(0)7223/9493-0
11 * Fax: +49(0)7223/9493-92
12 * http://www.addi-data.com
13 * info@addi-data.com
18 * Description: ADDI-DATA APCI-3501 Analog output board
19 * Devices: [ADDI-DATA] APCI-3501 (addi_apci_3501)
[all …]
H A Dme_daq.c1 // SPDX-License-Identifier: GPL-2.0+
5 * ME-2000i, ME-2600i, ME-3000vm1
13 * Devices: [Meilhaus] ME-2600i (me-2600i), ME-2000i (me-2000i)
35 * PCI BAR2 Memory map (dev->mmio)
54 #define ME_CTRL2_REG 0x02 /* R (dac update) | W */
76 #define ME_TIMER_DATA_REG(x) (0x0a + ((x) * 2)) /* - | W */
83 #define ME_DAC_CTRL_BIPOLAR(x) BIT(7 - ((x) & 0x3))
84 #define ME_DAC_CTRL_GAIN(x) BIT(11 - ((x) & 0x3))
87 #define ME_AO_DATA_REG(x) (0x14 + ((x) * 2)) /* - | W */
88 #define ME_COUNTER_ENDDATA_REG(x) (0x1c + ((x) * 2)) /* - | W */
[all …]
H A Ds626.h1 /* SPDX-License-Identifier: GPL-2.0+ */
6 * COMEDI - Linux Control and Measurement Device Interface
10 * Copyright (C) 2002-2004 Sensoray Co., Inc.
24 * Number of extended-capability
36 #define S626_RANGE_5V 0x10 /* +/-5V range */
37 #define S626_RANGE_10V 0x00 /* +/-10V range */
40 #define S626_GSEL_BIPOLAR5V 0x00F0 /* S626_LP_GSEL setting 5V bipolar. */
41 #define S626_GSEL_BIPOLAR10V 0x00A0 /* S626_LP_GSEL setting 10V bipolar. */
64 * DAC output DMA buffer holds a single
111 * (used by DAC).
[all …]
H A Dcb_pcidas64.c1 // SPDX-License-Identifier: GPL-2.0+
4 * This is a driver for the ComputerBoards/MeasurementComputing PCI-DAS
13 * his pci-das6402 driver, and source code for working QNX pci-6402
18 * John Sims, for much testing and feedback on pcidas-4020 support.
20 * COMEDI - Linux Control and Measurement Device Interface
21 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org>
26 * Description: MeasurementComputing PCI-DAS64xx, 60XX, and 4020 series
31 * Devices: [Measurement Computing] PCI-DAS6402/16 (cb_pcidas64),
32 * PCI-DAS6402/12, PCI-DAS64/M1/16, PCI-DAS64/M2/16,
33 * PCI-DAS64/M3/16, PCI-DAS6402/16/JR, PCI-DAS64/M1/16/JR,
[all …]
H A Dcb_pcidas.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001-2003 Ivan Martinez <imr@oersted.dtu.dk>
10 * COMEDI - Linux Control and Measurement Device Interface
11 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org>
16 * Description: MeasurementComputing PCI-DAS series
18 * Devices: [Measurement Computing] PCI-DAS1602/16 (cb_pcidas),
19 * PCI-DAS1602/16jr, PCI-DAS1602/12, PCI-DAS1200, PCI-DAS1200jr,
20 * PCI-DAS1000, PCI-DAS1001, PCI_DAS1002
23 * Updated: 2003-3-11
36 * (i.e. 4-5-6-7, 2-3-4,...), and must all have the same
[all …]
H A Dpcl726.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Comedi driver for 6/12-Channel D/A Output and DIO cards
6 * COMEDI - Linux Control and Measurement Device Interface
12 * Description: Advantech PCL-726 & compatibles
15 * Devices: [Advantech] PCL-726 (pcl726), PCL-727 (pcl727), PCL-728 (pcl728),
16 * [ADLink] ACL-6126 (acl6126), ACL-6128 (acl6128)
19 * [0] - IO Base
20 * [1] - IRQ (ACL-6126 only)
21 * [2] - D/A output range for channel 0
22 * [3] - D/A output range for channel 1
[all …]
H A Dcb_pcimdas.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Comedi driver for Computer Boards PCIM-DAS1602/16 and PCIe-DAS1602/16
6 * COMEDI - Linux Control and Measurement Device Interface
13 * Devices: [ComputerBoards] PCIM-DAS1602/16 (cb_pcimdas), PCIe-DAS1602/16
18 * Written to support the PCIM-DAS1602/16 and PCIe-DAS1602/16.
31 * https://www.mccdaq.com/PDFs/Manuals/pcim-das1602-16.pdf
32 * https://www.mccdaq.com/PDFs/Manuals/pcie-das1602-16.pdf
49 * PCI Bar 2 Register map (devpriv->daqio)
56 * PCI Bar 3 Register map (devpriv->BADR3)
107 * PCI Bar 4 Register map (dev->iobase)
[all …]
H A Ddmm32at.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Diamond Systems Diamond-MM-32-AT Comedi driver
6 * COMEDI - Linux Control and Measurement Device Interface
12 * Description: Diamond Systems Diamond-MM-32-AT
13 * Devices: [Diamond Systems] Diamond-MM-32-AT (dmm32at)
21 * This driver is for the Diamond Systems MM-32-AT board
39 #define DMM32AT_AUX_DOUT2 BIT(2) /* J3.42 - OUT2 (OUT2EN) */
41 #define DMM32AT_AUX_DOUT0 BIT(0) /* J3.44 - OUT0 (OUT0EN) */
48 #define DMM32AT_AUX_DI3 BIT(3) /* J3.45 - ADCLK (CLKSEL) */
49 #define DMM32AT_AUX_DI2 BIT(2) /* J3.46 - GATE12 (GT12EN) */
[all …]
H A Drtd520.c1 // SPDX-License-Identifier: GPL-2.0+
6 * COMEDI - Linux Control and Measurement Device Interface
13 * Devices: [Real Time Devices] DM7520HR-1 (DM7520), DM7520HR-8,
14 * PCI4520 (PCI4520), PCI4520-8
16 * Status: Works. Only tested on DM7520-8. Not SMP safe.
24 * The PCI4520 is a PCI card. The DM7520 is a PC/104-plus card.
40 * These boards can support external multiplexors and multi-board
71 * Analog-In supports instruction and command mode.
73 * With DMA, you can sample at 1.15Mhz with 70% idle on a 400Mhz K6-2
75 * using DMA with ALI-15xx based systems. I haven't been able to test
[all …]
H A Dpcmmio.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Driver for Winsystems PC-104 based multifunction IO board.
6 * COMEDI - Linux Control and Measurement Device Interface
12 * Description: A driver for the PCM-MIO multifunction board
13 * Devices: [Winsystems] PCM-MIO (pcmmio)
15 * Updated: Wed, May 16 2007 16:21:10 -0500
18 * A driver for the PCM-MIO multifunction board from Winsystems. This
19 * is a PC-104 based I/O board. It contains four subdevices:
21 * subdevice 0 - 16 channels of 16-bit AI
22 * subdevice 1 - 8 channels of 16-bit AO
[all …]
H A Dpcl818.c1 // SPDX-License-Identifier: GPL-2.0
6 * Description: Advantech PCL-818 cards, PCL-718
8 * Devices: [Advantech] PCL-818L (pcl818l), PCL-818H (pcl818h),
9 * PCL-818HD (pcl818hd), PCL-818HG (pcl818hg), PCL-818 (pcl818),
10 * PCL-718 (pcl718)
18 * PCL-818HD and PCL-818HG support 1kword FIFO. Driver support this FIFO
37 * Options for PCL-818L:
38 * [0] - IO Base
39 * [1] - IRQ (0=disable, 2, 3, 4, 5, 6, 7)
40 * [2] - DMA (0=disable, 1, 3)
[all …]
H A Dni_labpc_common.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001-2003 Frank Mori Hess <fmhess@users.sourceforge.net>
83 return inb(dev->iobase + reg); in labpc_inb()
89 outb(byte, dev->iobase + reg); in labpc_outb()
94 return readb(dev->mmio + reg); in labpc_readb()
100 writeb(byte, dev->mmio + reg); in labpc_writeb()
105 struct labpc_private *devpriv = dev->private; in labpc_cancel()
108 spin_lock_irqsave(&dev->spinlock, flags); in labpc_cancel()
109 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_cancel()
110 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_cancel()
[all …]
H A Dni_mio_common.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Hardware driver for DAQ-STC based boards
5 * COMEDI - Linux Control and Measurement Device Interface
6 * Copyright (C) 1997-2001 David A. Schleef <ds@schleef.org>
7 * Copyright (C) 2002-2006 Frank Mori Hess <fmhess@users.sourceforge.net>
17 * 340747b.pdf AT-MIO E series Register Level Programmer Manual
19 * 340934b.pdf DAQ-STC reference manual
31 * 321791a.pdf discontinuation of at-mio-16e-10 rev. c
32 * 321808a.pdf about at-mio-16e-10 rev P
33 * 321837a.pdf discontinuation of at-mio-16de-10 rev d
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/addac/
H A Dadi,ad74115.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Cosmin Tanislav <cosmin.tanislav@analog.com>
13 The AD74115H is a single-channel software configurable input/output
17 chip solution with an SPI interface. The device features a 16-bit ADC and a
18 14-bit DAC.
25 - adi,ad74115h
30 spi-max-frequency:
33 spi-cpol: true
[all …]
/openbmc/linux/drivers/iio/addac/
H A Dstx104.c1 // SPDX-License-Identifier: GPL-2.0-only
87 * struct stx104_iio - IIO device private data structure
182 err = regmap_read(priv->aio_ctl_map, STX104_ADC_CONFIGURATION, &adc_config); in stx104_read_raw()
189 if (chan->output) { in stx104_read_raw()
190 err = regmap_read(priv->aio_data_map, STX104_DAC_OFFSET(chan->channel), in stx104_read_raw()
198 mutex_lock(&priv->lock); in stx104_read_raw()
201 err = regmap_write(priv->aio_ctl_map, STX104_ADC_CHANNEL, in stx104_read_raw()
202 STX104_SINGLE_CHANNEL(chan->channel)); in stx104_read_raw()
204 mutex_unlock(&priv->lock); in stx104_read_raw()
209 * Trigger ADC sample capture by writing to the 8-bit Software Strobe Register and in stx104_read_raw()
[all …]
H A Dad74115.c1 // SPDX-License-Identifier: GPL-2.0
205 * Synchronize consecutive operations when doing a one-shot
387 [AD74115_ADC_RANGE_12V_BIPOLAR] = { -12000000, 12000000 },
388 [AD74115_ADC_RANGE_2_5V_BIPOLAR] = { -2500000, 2500000 },
389 [AD74115_ADC_RANGE_2_5V_NEG] = { -2500000, 0 },
392 [AD74115_ADC_RANGE_104MV_BIPOLAR] = { -104000, 104000 },
407 return -EINVAL; in _ad74115_find_tbl_index()
429 ad74115_format_reg_write(reg, val, st->reg_tx_buf); in ad74115_reg_write()
431 return spi_write(st->spi, st->reg_tx_buf, AD74115_FRAME_SIZE); in ad74115_reg_write()
436 struct device *dev = &st->spi->dev; in ad74115_crc_check()
[all …]