1 // SPDX-License-Identifier: GPL-2.0+
3 * comedi/drivers/ni_routing/ni_device_routes/pxi-6225.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_6225_device_routes = {
32 .routes = (struct ni_route_set[]){
47 NI_CtrInternalOutput(0),
48 NI_CtrInternalOutput(1),
51 NI_AI_ReferenceTrigger,
58 NI_ChangeDetectionEvent,
59 NI_AnalogComparisonEvent,
77 NI_CtrInternalOutput(0),
78 NI_CtrInternalOutput(1),
81 NI_AI_ReferenceTrigger,
88 NI_ChangeDetectionEvent,
89 NI_AnalogComparisonEvent,
107 NI_CtrInternalOutput(0),
108 NI_CtrInternalOutput(1),
111 NI_AI_ReferenceTrigger,
118 NI_ChangeDetectionEvent,
119 NI_AnalogComparisonEvent,
137 NI_CtrInternalOutput(0),
138 NI_CtrInternalOutput(1),
141 NI_AI_ReferenceTrigger,
148 NI_ChangeDetectionEvent,
149 NI_AnalogComparisonEvent,
167 NI_CtrInternalOutput(0),
168 NI_CtrInternalOutput(1),
171 NI_AI_ReferenceTrigger,
178 NI_ChangeDetectionEvent,
179 NI_AnalogComparisonEvent,
197 NI_CtrInternalOutput(0),
198 NI_CtrInternalOutput(1),
201 NI_AI_ReferenceTrigger,
208 NI_ChangeDetectionEvent,
209 NI_AnalogComparisonEvent,
227 NI_CtrInternalOutput(0),
228 NI_CtrInternalOutput(1),
231 NI_AI_ReferenceTrigger,
238 NI_ChangeDetectionEvent,
239 NI_AnalogComparisonEvent,
257 NI_CtrInternalOutput(0),
258 NI_CtrInternalOutput(1),
261 NI_AI_ReferenceTrigger,
268 NI_ChangeDetectionEvent,
269 NI_AnalogComparisonEvent,
287 NI_CtrInternalOutput(0),
288 NI_CtrInternalOutput(1),
291 NI_AI_ReferenceTrigger,
298 NI_ChangeDetectionEvent,
299 NI_AnalogComparisonEvent,
317 NI_CtrInternalOutput(0),
318 NI_CtrInternalOutput(1),
321 NI_AI_ReferenceTrigger,
328 NI_ChangeDetectionEvent,
329 NI_AnalogComparisonEvent,
347 NI_CtrInternalOutput(0),
348 NI_CtrInternalOutput(1),
351 NI_AI_ReferenceTrigger,
358 NI_ChangeDetectionEvent,
359 NI_AnalogComparisonEvent,
377 NI_CtrInternalOutput(0),
378 NI_CtrInternalOutput(1),
381 NI_AI_ReferenceTrigger,
388 NI_ChangeDetectionEvent,
389 NI_AnalogComparisonEvent,
407 NI_CtrInternalOutput(0),
408 NI_CtrInternalOutput(1),
411 NI_AI_ReferenceTrigger,
418 NI_ChangeDetectionEvent,
419 NI_AnalogComparisonEvent,
437 NI_CtrInternalOutput(0),
438 NI_CtrInternalOutput(1),
441 NI_AI_ReferenceTrigger,
448 NI_ChangeDetectionEvent,
449 NI_AnalogComparisonEvent,
467 NI_CtrInternalOutput(0),
468 NI_CtrInternalOutput(1),
471 NI_AI_ReferenceTrigger,
478 NI_ChangeDetectionEvent,
479 NI_AnalogComparisonEvent,
497 NI_CtrInternalOutput(0),
498 NI_CtrInternalOutput(1),
501 NI_AI_ReferenceTrigger,
508 NI_ChangeDetectionEvent,
509 NI_AnalogComparisonEvent,
514 .dest = TRIGGER_LINE(0),
525 NI_CtrInternalOutput(0),
526 NI_CtrInternalOutput(1),
529 NI_AI_ReferenceTrigger,
535 NI_ChangeDetectionEvent,
536 NI_AnalogComparisonEvent,
541 .dest = TRIGGER_LINE(1),
552 NI_CtrInternalOutput(0),
553 NI_CtrInternalOutput(1),
556 NI_AI_ReferenceTrigger,
562 NI_ChangeDetectionEvent,
563 NI_AnalogComparisonEvent,
568 .dest = TRIGGER_LINE(2),
579 NI_CtrInternalOutput(0),
580 NI_CtrInternalOutput(1),
583 NI_AI_ReferenceTrigger,
589 NI_ChangeDetectionEvent,
590 NI_AnalogComparisonEvent,
595 .dest = TRIGGER_LINE(3),
606 NI_CtrInternalOutput(0),
607 NI_CtrInternalOutput(1),
610 NI_AI_ReferenceTrigger,
616 NI_ChangeDetectionEvent,
617 NI_AnalogComparisonEvent,
622 .dest = TRIGGER_LINE(4),
633 NI_CtrInternalOutput(0),
634 NI_CtrInternalOutput(1),
637 NI_AI_ReferenceTrigger,
643 NI_ChangeDetectionEvent,
644 NI_AnalogComparisonEvent,
649 .dest = TRIGGER_LINE(5),
660 NI_CtrInternalOutput(0),
661 NI_CtrInternalOutput(1),
664 NI_AI_ReferenceTrigger,
670 NI_ChangeDetectionEvent,
671 NI_AnalogComparisonEvent,
676 .dest = TRIGGER_LINE(6),
687 NI_CtrInternalOutput(0),
688 NI_CtrInternalOutput(1),
691 NI_AI_ReferenceTrigger,
697 NI_ChangeDetectionEvent,
698 NI_AnalogComparisonEvent,
703 .dest = TRIGGER_LINE(7),
714 NI_CtrInternalOutput(0),
715 NI_CtrInternalOutput(1),
718 NI_AI_ReferenceTrigger,
724 NI_ChangeDetectionEvent,
725 NI_AnalogComparisonEvent,
730 .dest = NI_CtrSource(0),
760 NI_AnalogComparisonEvent,
765 .dest = NI_CtrSource(1),
796 NI_AnalogComparisonEvent,
801 .dest = NI_CtrGate(0),
828 NI_CtrInternalOutput(1),
830 NI_AI_ReferenceTrigger,
831 NI_AnalogComparisonEvent,
836 .dest = NI_CtrGate(1),
863 NI_CtrInternalOutput(0),
865 NI_AI_ReferenceTrigger,
866 NI_AnalogComparisonEvent,
871 .dest = NI_CtrAux(0),
899 NI_CtrInternalOutput(1),
901 NI_AI_ReferenceTrigger,
902 NI_AnalogComparisonEvent,
907 .dest = NI_CtrAux(1),
935 NI_CtrInternalOutput(0),
937 NI_AI_ReferenceTrigger,
938 NI_AnalogComparisonEvent,
969 NI_AnalogComparisonEvent,
1000 NI_AnalogComparisonEvent,
1001 0, /* Termination */
1031 NI_AnalogComparisonEvent,
1032 0, /* Termination */
1062 NI_AnalogComparisonEvent,
1063 0, /* Termination */
1093 NI_AnalogComparisonEvent,
1094 0, /* Termination */
1124 NI_AnalogComparisonEvent,
1125 0, /* Termination */
1129 .dest = NI_CtrArmStartTrigger(0),
1155 NI_CtrInternalOutput(1),
1157 NI_AI_ReferenceTrigger,
1158 NI_AnalogComparisonEvent,
1159 0, /* Termination */
1163 .dest = NI_CtrArmStartTrigger(1),
1189 NI_CtrInternalOutput(0),
1191 NI_AI_ReferenceTrigger,
1192 NI_AnalogComparisonEvent,
1193 0, /* Termination */
1197 .dest = NI_AI_SampleClock,
1223 NI_CtrInternalOutput(0),
1224 NI_CtrInternalOutput(1),
1225 NI_AI_SampleClockTimebase,
1226 NI_AnalogComparisonEvent,
1227 0, /* Termination */
1231 .dest = NI_AI_SampleClockTimebase,
1260 NI_AnalogComparisonEvent,
1261 0, /* Termination */
1265 .dest = NI_AI_StartTrigger,
1291 NI_CtrInternalOutput(0),
1292 NI_CtrInternalOutput(1),
1293 NI_AnalogComparisonEvent,
1294 0, /* Termination */
1298 .dest = NI_AI_ReferenceTrigger,
1324 NI_AnalogComparisonEvent,
1325 0, /* Termination */
1329 .dest = NI_AI_ConvertClock,
1355 NI_CtrInternalOutput(0),
1356 NI_CtrInternalOutput(1),
1357 NI_AI_ConvertClockTimebase,
1358 NI_AnalogComparisonEvent,
1359 0, /* Termination */
1363 .dest = NI_AI_ConvertClockTimebase,
1365 NI_AI_SampleClockTimebase,
1367 0, /* Termination */
1371 .dest = NI_AI_PauseTrigger,
1397 NI_AnalogComparisonEvent,
1398 0, /* Termination */
1402 .dest = NI_AO_SampleClock,
1428 NI_CtrInternalOutput(0),
1429 NI_CtrInternalOutput(1),
1430 NI_AO_SampleClockTimebase,
1431 NI_AnalogComparisonEvent,
1432 0, /* Termination */
1436 .dest = NI_AO_SampleClockTimebase,
1465 NI_AnalogComparisonEvent,
1466 0, /* Termination */
1470 .dest = NI_AO_StartTrigger,
1497 NI_AnalogComparisonEvent,
1498 0, /* Termination */
1502 .dest = NI_AO_PauseTrigger,
1528 NI_AnalogComparisonEvent,
1529 0, /* Termination */
1533 .dest = NI_DI_SampleClock,
1559 NI_CtrInternalOutput(0),
1560 NI_CtrInternalOutput(1),
1565 NI_ChangeDetectionEvent,
1566 NI_AnalogComparisonEvent,
1567 0, /* Termination */
1571 .dest = NI_DO_SampleClock,
1597 NI_CtrInternalOutput(0),
1598 NI_CtrInternalOutput(1),
1603 NI_ChangeDetectionEvent,
1604 NI_AnalogComparisonEvent,
1605 0, /* Termination */
1608 { /* Termination of list */