1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pxi-6030e.c
4 * List of valid routes for specific NI boards.
6 * COMEDI - Linux Control and Measurement Device Interface
7 * Copyright (C) 2016 Spencer E. Olson <olsonse@umich.edu>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * The contents of this file are generated using the tools in
22 * comedi/drivers/ni_routing/tools
24 * Please use those tools to help maintain the contents of this file.
27 #include "../ni_device_routes.h"
30 struct ni_device_routes ni_pxi_6030e_device_routes = {
31 .device = "pxi-6030e",
32 .routes = (struct ni_route_set[]){
43 NI_AI_ReferenceTrigger,
104 .dest = TRIGGER_LINE(0),
108 NI_CtrInternalOutput(0),
112 NI_AI_ReferenceTrigger,
120 .dest = TRIGGER_LINE(1),
124 NI_CtrInternalOutput(0),
128 NI_AI_ReferenceTrigger,
136 .dest = TRIGGER_LINE(2),
140 NI_CtrInternalOutput(0),
144 NI_AI_ReferenceTrigger,
152 .dest = TRIGGER_LINE(3),
156 NI_CtrInternalOutput(0),
160 NI_AI_ReferenceTrigger,
168 .dest = TRIGGER_LINE(4),
172 NI_CtrInternalOutput(0),
176 NI_AI_ReferenceTrigger,
184 .dest = TRIGGER_LINE(5),
188 NI_CtrInternalOutput(0),
192 NI_AI_ReferenceTrigger,
200 .dest = TRIGGER_LINE(7),
207 .dest = NI_CtrSource(0),
229 NI_AnalogComparisonEvent,
234 .dest = NI_CtrSource(1),
256 NI_AnalogComparisonEvent,
261 .dest = NI_CtrGate(0),
279 NI_CtrInternalOutput(1),
281 NI_AI_ReferenceTrigger,
282 NI_AnalogComparisonEvent,
287 .dest = NI_CtrGate(1),
305 NI_CtrInternalOutput(0),
307 NI_AI_ReferenceTrigger,
308 NI_AnalogComparisonEvent,
313 .dest = NI_CtrOut(0),
321 NI_CtrInternalOutput(0),
326 .dest = NI_CtrOut(1),
328 NI_CtrInternalOutput(1),
333 .dest = NI_AI_SampleClock,
351 NI_CtrInternalOutput(0),
352 NI_AI_SampleClockTimebase,
353 NI_AnalogComparisonEvent,
358 .dest = NI_AI_SampleClockTimebase,
380 NI_AnalogComparisonEvent,
385 .dest = NI_AI_StartTrigger,
403 NI_CtrInternalOutput(0),
404 NI_AnalogComparisonEvent,
409 .dest = NI_AI_ReferenceTrigger,
427 NI_AnalogComparisonEvent,
432 .dest = NI_AI_ConvertClock,
450 NI_CtrInternalOutput(0),
451 NI_AI_ConvertClockTimebase,
452 NI_AnalogComparisonEvent,
457 .dest = NI_AI_ConvertClockTimebase,
460 NI_AI_SampleClockTimebase,
467 .dest = NI_AI_PauseTrigger,
485 NI_AnalogComparisonEvent,
490 .dest = NI_AI_HoldComplete,
492 NI_AI_HoldCompleteEvent,
497 .dest = NI_AO_SampleClock,
515 NI_CtrInternalOutput(1),
516 NI_AO_SampleClockTimebase,
517 NI_AnalogComparisonEvent,
522 .dest = NI_AO_SampleClockTimebase,
544 NI_AnalogComparisonEvent,
549 .dest = NI_AO_StartTrigger,
568 NI_AnalogComparisonEvent,
573 .dest = NI_AO_PauseTrigger,
591 NI_AnalogComparisonEvent,
596 .dest = NI_MasterTimebase,
603 { /* Termination of list */