linux/drivers/comedi/drivers/ni_labpc_regs.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * ni_labpc register definitions.
 */

#ifndef _NI_LABPC_REGS_H
#define _NI_LABPC_REGS_H

/*
 * Register map (all registers are 8-bit)
 */
#define STAT1_REG
#define STAT1_DAVAIL
#define STAT1_OVERRUN
#define STAT1_OVERFLOW
#define STAT1_CNTINT
#define STAT1_GATA0
#define STAT1_EXTGATA0
#define CMD1_REG
#define CMD1_MA(x)
#define CMD1_TWOSCMP
#define CMD1_GAIN(x)
#define CMD1_SCANEN
#define CMD2_REG
#define CMD2_PRETRIG
#define CMD2_HWTRIG
#define CMD2_SWTRIG
#define CMD2_TBSEL
#define CMD2_2SDAC0
#define CMD2_2SDAC1
#define CMD2_LDAC(x)
#define CMD3_REG
#define CMD3_DMAEN
#define CMD3_DIOINTEN
#define CMD3_DMATCINTEN
#define CMD3_CNTINTEN
#define CMD3_ERRINTEN
#define CMD3_FIFOINTEN
#define ADC_START_CONVERT_REG
#define DAC_LSB_REG(x)
#define DAC_MSB_REG(x)
#define ADC_FIFO_CLEAR_REG
#define ADC_FIFO_REG
#define DMATC_CLEAR_REG
#define TIMER_CLEAR_REG
#define CMD6_REG
#define CMD6_NRSE
#define CMD6_ADCUNI
#define CMD6_DACUNI(x)
#define CMD6_HFINTEN
#define CMD6_DQINTEN
#define CMD6_SCANUP
#define CMD4_REG
#define CMD4_INTSCAN
#define CMD4_EOIRCV
#define CMD4_ECLKDRV
#define CMD4_SEDIFF
#define CMD4_ECLKRCV
#define DIO_BASE_REG
#define COUNTER_A_BASE_REG
#define COUNTER_B_BASE_REG
#define CMD5_REG
#define CMD5_WRTPRT
#define CMD5_DITHEREN
#define CMD5_CALDACLD
#define CMD5_SCLK
#define CMD5_SDATA
#define CMD5_EEPROMCS
#define STAT2_REG
#define STAT2_PROMOUT
#define STAT2_OUTA1
#define STAT2_FIFONHF
#define INTERVAL_COUNT_REG
#define INTERVAL_STROBE_REG

#endif /* _NI_LABPC_REGS_H */