Added enum for setting master clock of NI "frequency output" subdevice.
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 25 Oct 2007 19:56:22 +0000 (19:56 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 25 Oct 2007 19:56:22 +0000 (19:56 +0000)
include/linux/comedi.h

index 3f74a3a3c175d80e8438aeac988275a22a5edb8e..d6e25efb4dde3d18a28dacf75322274aa4b66b4d 100644 (file)
@@ -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