projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128021e
)
Added enum for setting master clock of NI "frequency output" subdevice.
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 25 Oct 2007 19:56:22 +0000
(19:56 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 25 Oct 2007 19:56:22 +0000
(19:56 +0000)
include/linux/comedi.h
patch
|
blob
|
history
diff --git
a/include/linux/comedi.h
b/include/linux/comedi.h
index 3f74a3a3c175d80e8438aeac988275a22a5edb8e..d6e25efb4dde3d18a28dacf75322274aa4b66b4d 100644
(file)
--- 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