1 // SPDX-License-Identifier: GPL-2.0+
2 /* vim: set ts=8 sw=8 noet tw=80 nowrap: */
4 * comedi/drivers/ni_routing/ni_device_routes/pci-6070e.c
5 * List of valid routes for specific NI boards.
7 * COMEDI - Linux Control and Measurement Device Interface
8 * Copyright (C) 2016 Spencer E. Olson <olsonse@umich.edu>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
22 * The contents of this file are generated using the tools in
23 * comedi/drivers/ni_routing/tools
25 * Please use those tools to help maintain the contents of this file.
28 #include "../ni_device_routes.h"
31 struct ni_device_routes ni_pci_6070e_device_routes = {
32 .device = "pci-6070e",
33 .routes = (struct ni_route_set[]){
44 NI_AI_ReferenceTrigger,
105 .dest = TRIGGER_LINE(0),
109 NI_CtrInternalOutput(0),
113 NI_AI_ReferenceTrigger,
121 .dest = TRIGGER_LINE(1),
125 NI_CtrInternalOutput(0),
129 NI_AI_ReferenceTrigger,
137 .dest = TRIGGER_LINE(2),
141 NI_CtrInternalOutput(0),
145 NI_AI_ReferenceTrigger,
153 .dest = TRIGGER_LINE(3),
157 NI_CtrInternalOutput(0),
161 NI_AI_ReferenceTrigger,
169 .dest = TRIGGER_LINE(4),
173 NI_CtrInternalOutput(0),
177 NI_AI_ReferenceTrigger,
185 .dest = TRIGGER_LINE(5),
189 NI_CtrInternalOutput(0),
193 NI_AI_ReferenceTrigger,
201 .dest = TRIGGER_LINE(6),
205 NI_CtrInternalOutput(0),
209 NI_AI_ReferenceTrigger,
217 .dest = TRIGGER_LINE(7),
224 .dest = NI_CtrSource(0),
247 NI_AnalogComparisonEvent,
252 .dest = NI_CtrSource(1),
275 NI_AnalogComparisonEvent,
280 .dest = NI_CtrGate(0),
299 NI_CtrInternalOutput(1),
301 NI_AI_ReferenceTrigger,
302 NI_AnalogComparisonEvent,
307 .dest = NI_CtrGate(1),
326 NI_CtrInternalOutput(0),
328 NI_AI_ReferenceTrigger,
329 NI_AnalogComparisonEvent,
334 .dest = NI_CtrOut(0),
343 NI_CtrInternalOutput(0),
348 .dest = NI_CtrOut(1),
350 NI_CtrInternalOutput(1),
355 .dest = NI_AI_SampleClock,
374 NI_CtrInternalOutput(0),
375 NI_AI_SampleClockTimebase,
376 NI_AnalogComparisonEvent,
381 .dest = NI_AI_SampleClockTimebase,
404 NI_AnalogComparisonEvent,
409 .dest = NI_AI_StartTrigger,
428 NI_CtrInternalOutput(0),
429 NI_AnalogComparisonEvent,
434 .dest = NI_AI_ReferenceTrigger,
453 NI_AnalogComparisonEvent,
458 .dest = NI_AI_ConvertClock,
477 NI_CtrInternalOutput(0),
478 NI_AI_ConvertClockTimebase,
479 NI_AnalogComparisonEvent,
484 .dest = NI_AI_ConvertClockTimebase,
487 NI_AI_SampleClockTimebase,
494 .dest = NI_AI_PauseTrigger,
513 NI_AnalogComparisonEvent,
518 .dest = NI_AI_HoldComplete,
520 NI_AI_HoldCompleteEvent,
525 .dest = NI_AO_SampleClock,
544 NI_CtrInternalOutput(1),
545 NI_AO_SampleClockTimebase,
546 NI_AnalogComparisonEvent,
551 .dest = NI_AO_SampleClockTimebase,
574 NI_AnalogComparisonEvent,
579 .dest = NI_AO_StartTrigger,
599 NI_AnalogComparisonEvent,
604 .dest = NI_AO_PauseTrigger,
623 NI_AnalogComparisonEvent,
628 .dest = NI_MasterTimebase,
635 { /* Termination of list */