From: Frank Mori Hess Date: Wed, 17 Oct 2007 20:17:43 +0000 (+0000) Subject: Synced with comedi. X-Git-Tag: r0_8_1~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=334b16aabe06e5527da2b37c306332826ab08adc;p=comedilib.git Synced with comedi. --- 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