From: Frank Mori Hess Date: Thu, 25 Oct 2007 19:56:22 +0000 (+0000) Subject: Added enum for setting master clock of NI "frequency output" subdevice. X-Git-Tag: r0_7_75~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f7ccd732fdddca66428fb66a4381687784bb6b82;p=comedi.git Added enum for setting master clock of NI "frequency output" subdevice. --- diff --git a/include/linux/comedi.h b/include/linux/comedi.h index 3f74a3a3..d6e25efb 100644 --- a/include/linux/comedi.h +++ b/include/linux/comedi.h @@ -830,6 +830,14 @@ static inline unsigned NI_AO_SCAN_BEGIN_SRC_RTSI(unsigned rtsi_channel) return NI_USUAL_RTSI_SELECT(rtsi_channel); } +/* Bits for setting a clock source with + * INSN_CONFIG_SET_CLOCK_SRC when using NI frequency output subdevice. */ +enum ni_freq_out_clock_source_bits +{ + NI_FREQ_OUT_TIMEBASE_1_DIV_2_CLOCK_SRC, // 10 MHz + NI_FREQ_OUT_TIMEBASE_2_CLOCK_SRC // 100 KHz +}; + #ifdef __cplusplus } #endif