From 334b16aabe06e5527da2b37c306332826ab08adc Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 17 Oct 2007 20:17:43 +0000 Subject: [PATCH] Synced with comedi. --- include/comedi.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/comedi.h b/include/comedi.h index d9b5920..3f74a3a 100644 --- a/include/comedi.h +++ b/include/comedi.h @@ -818,6 +818,18 @@ static inline unsigned NI_CDIO_SCAN_BEGIN_SRC_RTSI(unsigned rtsi_channel) return NI_USUAL_RTSI_SELECT(rtsi_channel); } +/* scan_begin_src for scan_begin_arg==TRIG_EXT with analog output command +on NI boards. These scan begin sources can also be bitwise-or'd with +CR_INVERT to change polarity. */ +static inline unsigned NI_AO_SCAN_BEGIN_SRC_PFI(unsigned pfi_channel) +{ + return NI_USUAL_PFI_SELECT(pfi_channel); +} +static inline unsigned NI_AO_SCAN_BEGIN_SRC_RTSI(unsigned rtsi_channel) +{ + return NI_USUAL_RTSI_SELECT(rtsi_channel); +} + #ifdef __cplusplus } #endif -- 2.26.2