Added enum of digital PFI filters on m-series.
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 12 Jul 2007 14:55:41 +0000 (14:55 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 12 Jul 2007 14:55:41 +0000 (14:55 +0000)
include/linux/comedi.h

index 7014fc46401207e0a9c7ef2678a341035dec4a21..13f22fe182615f74d96933ec0419d0bedadf29df 100644 (file)
@@ -655,7 +655,7 @@ enum ni_gpct_other_index {
 enum ni_gpct_other_select
 {
        /* m-series gates */
-        // Still unknown, probably only need NI_GPCT_PFI_OTHER_SELECT 
+        // Still unknown, probably only need NI_GPCT_PFI_OTHER_SELECT
        NI_GPCT_DISABLED_OTHER_SELECT = 0x8000,
 };
 static inline unsigned NI_GPCT_PFI_OTHER_SELECT(unsigned n)
@@ -684,8 +684,7 @@ enum ni_gpct_arm_source
        NI_GPCT_ARM_UNKNOWN = 0x1000,
 };
 
-/* digital filtering options for ni 660x for use with INSN_CONFIG_FILTER
-(support for m-series should also be added). */
+/* digital filtering options for ni 660x for use with INSN_CONFIG_FILTER. */
 enum ni_gpct_filter_select
 {
        NI_GPCT_FILTER_OFF = 0x0,
@@ -697,6 +696,15 @@ enum ni_gpct_filter_select
        NI_GPCT_FILTER_2x_TIMEBASE_3 = 0x6
 };
 
+/* PFI digital filtering options for ni m-series for use with INSN_CONFIG_FILTER. */
+enum ni_pfi_filter_select
+{
+       NI_PFI_FILTER_OFF = 0x0,
+       NI_PFI_FILTER_125ns = 0x1,
+       NI_PFI_FILTER_6425ns = 0x2,
+       NI_PFI_FILTER_2550us = 0x3
+};
+
 /* master clock sources for ni mio boards and INSN_CONFIG_SET_CLOCK_SRC */
 enum ni_mio_clock_source
 {