Go to the source code of this file.
|
enum | ni_660x_clock_source {
NI_660x_Timebase_1_Clock = 0x0,
NI_660x_Source_Pin_i_Clock = 0x1,
NI_660x_Next_Gate_Clock = 0xa,
NI_660x_Timebase_2_Clock = 0x12,
NI_660x_Next_TC_Clock = 0x13,
NI_660x_Timebase_3_Clock = 0x1e,
NI_660x_Logic_Low_Clock = 0x1f
} |
|
enum | ni_m_series_clock_source {
NI_M_Series_Timebase_1_Clock = 0x0,
NI_M_Series_Timebase_2_Clock = 0x12,
NI_M_Series_Next_TC_Clock = 0x13,
NI_M_Series_Next_Gate_Clock = 0x14,
NI_M_Series_PXI_Star_Trigger_Clock = 0x14,
NI_M_Series_PXI10_Clock = 0x1d,
NI_M_Series_Timebase_3_Clock = 0x1e,
NI_M_Series_Analog_Trigger_Out_Clock = 0x1e,
NI_M_Series_Logic_Low_Clock = 0x1f
} |
|
enum | ni_660x_gate_select {
NI_660x_Source_Pin_i_Gate_Select = 0x0,
NI_660x_Gate_Pin_i_Gate_Select = 0x1,
NI_660x_Next_SRC_Gate_Select = 0xa,
NI_660x_Next_Out_Gate_Select = 0x14,
NI_660x_Logic_Low_Gate_Select = 0x1f
} |
|
enum | ni_m_series_gate_select {
NI_M_Series_Timestamp_Mux_Gate_Select = 0x0,
NI_M_Series_AI_START2_Gate_Select = 0x12,
NI_M_Series_PXI_Star_Trigger_Gate_Select = 0x13,
NI_M_Series_Next_Out_Gate_Select = 0x14,
NI_M_Series_AI_START1_Gate_Select = 0x1c,
NI_M_Series_Next_SRC_Gate_Select = 0x1d,
NI_M_Series_Analog_Trigger_Out_Gate_Select = 0x1e,
NI_M_Series_Logic_Low_Gate_Select = 0x1f
} |
|
enum | ni_660x_second_gate_select {
NI_660x_Source_Pin_i_Second_Gate_Select = 0x0,
NI_660x_Up_Down_Pin_i_Second_Gate_Select = 0x1,
NI_660x_Next_SRC_Second_Gate_Select = 0xa,
NI_660x_Next_Out_Second_Gate_Select = 0x14,
NI_660x_Selected_Gate_Second_Gate_Select = 0x1e,
NI_660x_Logic_Low_Second_Gate_Select = 0x1f
} |
|
|
| MODULE_AUTHOR ("Comedi <[email protected]>") |
|
| MODULE_DESCRIPTION ("Comedi support for NI general-purpose counters") |
|
| MODULE_LICENSE ("GPL") |
|
| module_init (ni_tio_init_module) |
|
| module_exit (ni_tio_cleanup_module) |
|
struct ni_gpct_device * | ni_gpct_device_construct (struct comedi_device *dev, void(*write_register)(structni_gpct *counter, unsignedbits, enumni_gpct_registerreg), unsigned(*read_register)(struct ni_gpct *counter, enum ni_gpct_register reg), enum ni_gpct_variant variant, unsigned num_counters) |
|
| EXPORT_SYMBOL_GPL (ni_gpct_device_construct) |
|
void | ni_gpct_device_destroy (struct ni_gpct_device *counter_dev) |
|
| EXPORT_SYMBOL_GPL (ni_gpct_device_destroy) |
|
void | ni_tio_init_counter (struct ni_gpct *counter) |
|
| EXPORT_SYMBOL_GPL (ni_tio_init_counter) |
|
int | ni_tio_arm (struct ni_gpct *counter, int arm, unsigned start_trigger) |
|
| EXPORT_SYMBOL_GPL (ni_tio_arm) |
|
int | ni_tio_set_gate_src (struct ni_gpct *counter, unsigned gate_index, unsigned int gate_source) |
|
| EXPORT_SYMBOL_GPL (ni_tio_set_gate_src) |
|
int | ni_tio_insn_config (struct ni_gpct *counter, struct comedi_insn *insn, unsigned int *data) |
|
| EXPORT_SYMBOL_GPL (ni_tio_insn_config) |
|
int | ni_tio_rinsn (struct ni_gpct *counter, struct comedi_insn *insn, unsigned int *data) |
|
| EXPORT_SYMBOL_GPL (ni_tio_rinsn) |
|
int | ni_tio_winsn (struct ni_gpct *counter, struct comedi_insn *insn, unsigned int *data) |
|
| EXPORT_SYMBOL_GPL (ni_tio_winsn) |
|
- Enumerator:
NI_660x_Timebase_1_Clock |
|
NI_660x_Source_Pin_i_Clock |
|
NI_660x_Next_Gate_Clock |
|
NI_660x_Timebase_2_Clock |
|
NI_660x_Next_TC_Clock |
|
NI_660x_Timebase_3_Clock |
|
NI_660x_Logic_Low_Clock |
|
Definition at line 146 of file ni_tio.c.
- Enumerator:
NI_660x_Source_Pin_i_Gate_Select |
|
NI_660x_Gate_Pin_i_Gate_Select |
|
NI_660x_Next_SRC_Gate_Select |
|
NI_660x_Next_Out_Gate_Select |
|
NI_660x_Logic_Low_Gate_Select |
|
Definition at line 201 of file ni_tio.c.
- Enumerator:
NI_660x_Source_Pin_i_Second_Gate_Select |
|
NI_660x_Up_Down_Pin_i_Second_Gate_Select |
|
NI_660x_Next_SRC_Second_Gate_Select |
|
NI_660x_Next_Out_Second_Gate_Select |
|
NI_660x_Selected_Gate_Second_Gate_Select |
|
NI_660x_Logic_Low_Second_Gate_Select |
|
Definition at line 257 of file ni_tio.c.
- Enumerator:
NI_M_Series_Timebase_1_Clock |
|
NI_M_Series_Timebase_2_Clock |
|
NI_M_Series_Next_TC_Clock |
|
NI_M_Series_Next_Gate_Clock |
|
NI_M_Series_PXI_Star_Trigger_Clock |
|
NI_M_Series_PXI10_Clock |
|
NI_M_Series_Timebase_3_Clock |
|
NI_M_Series_Analog_Trigger_Out_Clock |
|
NI_M_Series_Logic_Low_Clock |
|
Definition at line 170 of file ni_tio.c.
- Enumerator:
NI_M_Series_Timestamp_Mux_Gate_Select |
|
NI_M_Series_AI_START2_Gate_Select |
|
NI_M_Series_PXI_Star_Trigger_Gate_Select |
|
NI_M_Series_Next_Out_Gate_Select |
|
NI_M_Series_AI_START1_Gate_Select |
|
NI_M_Series_Next_SRC_Gate_Select |
|
NI_M_Series_Analog_Trigger_Out_Gate_Select |
|
NI_M_Series_Logic_Low_Gate_Select |
|
Definition at line 221 of file ni_tio.c.
MODULE_DESCRIPTION |
( |
"Comedi support for NI general-purpose counters" |
| ) |
|
module_exit |
( |
ni_tio_cleanup_module |
| ) |
|
module_init |
( |
ni_tio_init_module |
| ) |
|
int ni_tio_set_gate_src |
( |
struct ni_gpct * |
counter, |
|
|
unsigned |
gate_index, |
|
|
unsigned int |
gate_source |
|
) |
| |