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/pxi-6225.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_pxi_6225_device_routes = {
33 .routes = (struct ni_route_set[]){
48 NI_CtrInternalOutput(0),
49 NI_CtrInternalOutput(1),
52 NI_AI_ReferenceTrigger,
59 NI_ChangeDetectionEvent,
60 NI_AnalogComparisonEvent,
78 NI_CtrInternalOutput(0),
79 NI_CtrInternalOutput(1),
82 NI_AI_ReferenceTrigger,
89 NI_ChangeDetectionEvent,
90 NI_AnalogComparisonEvent,
108 NI_CtrInternalOutput(0),
109 NI_CtrInternalOutput(1),
112 NI_AI_ReferenceTrigger,
119 NI_ChangeDetectionEvent,
120 NI_AnalogComparisonEvent,
138 NI_CtrInternalOutput(0),
139 NI_CtrInternalOutput(1),
142 NI_AI_ReferenceTrigger,
149 NI_ChangeDetectionEvent,
150 NI_AnalogComparisonEvent,
168 NI_CtrInternalOutput(0),
169 NI_CtrInternalOutput(1),
172 NI_AI_ReferenceTrigger,
179 NI_ChangeDetectionEvent,
180 NI_AnalogComparisonEvent,
198 NI_CtrInternalOutput(0),
199 NI_CtrInternalOutput(1),
202 NI_AI_ReferenceTrigger,
209 NI_ChangeDetectionEvent,
210 NI_AnalogComparisonEvent,
228 NI_CtrInternalOutput(0),
229 NI_CtrInternalOutput(1),
232 NI_AI_ReferenceTrigger,
239 NI_ChangeDetectionEvent,
240 NI_AnalogComparisonEvent,
258 NI_CtrInternalOutput(0),
259 NI_CtrInternalOutput(1),
262 NI_AI_ReferenceTrigger,
269 NI_ChangeDetectionEvent,
270 NI_AnalogComparisonEvent,
288 NI_CtrInternalOutput(0),
289 NI_CtrInternalOutput(1),
292 NI_AI_ReferenceTrigger,
299 NI_ChangeDetectionEvent,
300 NI_AnalogComparisonEvent,
318 NI_CtrInternalOutput(0),
319 NI_CtrInternalOutput(1),
322 NI_AI_ReferenceTrigger,
329 NI_ChangeDetectionEvent,
330 NI_AnalogComparisonEvent,
348 NI_CtrInternalOutput(0),
349 NI_CtrInternalOutput(1),
352 NI_AI_ReferenceTrigger,
359 NI_ChangeDetectionEvent,
360 NI_AnalogComparisonEvent,
378 NI_CtrInternalOutput(0),
379 NI_CtrInternalOutput(1),
382 NI_AI_ReferenceTrigger,
389 NI_ChangeDetectionEvent,
390 NI_AnalogComparisonEvent,
408 NI_CtrInternalOutput(0),
409 NI_CtrInternalOutput(1),
412 NI_AI_ReferenceTrigger,
419 NI_ChangeDetectionEvent,
420 NI_AnalogComparisonEvent,
438 NI_CtrInternalOutput(0),
439 NI_CtrInternalOutput(1),
442 NI_AI_ReferenceTrigger,
449 NI_ChangeDetectionEvent,
450 NI_AnalogComparisonEvent,
468 NI_CtrInternalOutput(0),
469 NI_CtrInternalOutput(1),
472 NI_AI_ReferenceTrigger,
479 NI_ChangeDetectionEvent,
480 NI_AnalogComparisonEvent,
498 NI_CtrInternalOutput(0),
499 NI_CtrInternalOutput(1),
502 NI_AI_ReferenceTrigger,
509 NI_ChangeDetectionEvent,
510 NI_AnalogComparisonEvent,
515 .dest = TRIGGER_LINE(0),
526 NI_CtrInternalOutput(0),
527 NI_CtrInternalOutput(1),
530 NI_AI_ReferenceTrigger,
536 NI_ChangeDetectionEvent,
537 NI_AnalogComparisonEvent,
542 .dest = TRIGGER_LINE(1),
553 NI_CtrInternalOutput(0),
554 NI_CtrInternalOutput(1),
557 NI_AI_ReferenceTrigger,
563 NI_ChangeDetectionEvent,
564 NI_AnalogComparisonEvent,
569 .dest = TRIGGER_LINE(2),
580 NI_CtrInternalOutput(0),
581 NI_CtrInternalOutput(1),
584 NI_AI_ReferenceTrigger,
590 NI_ChangeDetectionEvent,
591 NI_AnalogComparisonEvent,
596 .dest = TRIGGER_LINE(3),
607 NI_CtrInternalOutput(0),
608 NI_CtrInternalOutput(1),
611 NI_AI_ReferenceTrigger,
617 NI_ChangeDetectionEvent,
618 NI_AnalogComparisonEvent,
623 .dest = TRIGGER_LINE(4),
634 NI_CtrInternalOutput(0),
635 NI_CtrInternalOutput(1),
638 NI_AI_ReferenceTrigger,
644 NI_ChangeDetectionEvent,
645 NI_AnalogComparisonEvent,
650 .dest = TRIGGER_LINE(5),
661 NI_CtrInternalOutput(0),
662 NI_CtrInternalOutput(1),
665 NI_AI_ReferenceTrigger,
671 NI_ChangeDetectionEvent,
672 NI_AnalogComparisonEvent,
677 .dest = TRIGGER_LINE(6),
688 NI_CtrInternalOutput(0),
689 NI_CtrInternalOutput(1),
692 NI_AI_ReferenceTrigger,
698 NI_ChangeDetectionEvent,
699 NI_AnalogComparisonEvent,
704 .dest = TRIGGER_LINE(7),
715 NI_CtrInternalOutput(0),
716 NI_CtrInternalOutput(1),
719 NI_AI_ReferenceTrigger,
725 NI_ChangeDetectionEvent,
726 NI_AnalogComparisonEvent,
731 .dest = NI_CtrSource(0),
761 NI_AnalogComparisonEvent,
766 .dest = NI_CtrSource(1),
797 NI_AnalogComparisonEvent,
802 .dest = NI_CtrGate(0),
829 NI_CtrInternalOutput(1),
831 NI_AI_ReferenceTrigger,
832 NI_AnalogComparisonEvent,
837 .dest = NI_CtrGate(1),
864 NI_CtrInternalOutput(0),
866 NI_AI_ReferenceTrigger,
867 NI_AnalogComparisonEvent,
872 .dest = NI_CtrAux(0),
900 NI_CtrInternalOutput(1),
902 NI_AI_ReferenceTrigger,
903 NI_AnalogComparisonEvent,
908 .dest = NI_CtrAux(1),
936 NI_CtrInternalOutput(0),
938 NI_AI_ReferenceTrigger,
939 NI_AnalogComparisonEvent,
970 NI_AnalogComparisonEvent,
1001 NI_AnalogComparisonEvent,
1002 0, /* Termination */
1032 NI_AnalogComparisonEvent,
1033 0, /* Termination */
1063 NI_AnalogComparisonEvent,
1064 0, /* Termination */
1094 NI_AnalogComparisonEvent,
1095 0, /* Termination */
1125 NI_AnalogComparisonEvent,
1126 0, /* Termination */
1130 .dest = NI_CtrArmStartTrigger(0),
1156 NI_CtrInternalOutput(1),
1158 NI_AI_ReferenceTrigger,
1159 NI_AnalogComparisonEvent,
1160 0, /* Termination */
1164 .dest = NI_CtrArmStartTrigger(1),
1190 NI_CtrInternalOutput(0),
1192 NI_AI_ReferenceTrigger,
1193 NI_AnalogComparisonEvent,
1194 0, /* Termination */
1198 .dest = NI_AI_SampleClock,
1224 NI_CtrInternalOutput(0),
1225 NI_CtrInternalOutput(1),
1226 NI_AI_SampleClockTimebase,
1227 NI_AnalogComparisonEvent,
1228 0, /* Termination */
1232 .dest = NI_AI_SampleClockTimebase,
1261 NI_AnalogComparisonEvent,
1262 0, /* Termination */
1266 .dest = NI_AI_StartTrigger,
1292 NI_CtrInternalOutput(0),
1293 NI_CtrInternalOutput(1),
1294 NI_AnalogComparisonEvent,
1295 0, /* Termination */
1299 .dest = NI_AI_ReferenceTrigger,
1325 NI_AnalogComparisonEvent,
1326 0, /* Termination */
1330 .dest = NI_AI_ConvertClock,
1356 NI_CtrInternalOutput(0),
1357 NI_CtrInternalOutput(1),
1358 NI_AI_ConvertClockTimebase,
1359 NI_AnalogComparisonEvent,
1360 0, /* Termination */
1364 .dest = NI_AI_ConvertClockTimebase,
1366 NI_AI_SampleClockTimebase,
1368 0, /* Termination */
1372 .dest = NI_AI_PauseTrigger,
1398 NI_AnalogComparisonEvent,
1399 0, /* Termination */
1403 .dest = NI_AO_SampleClock,
1429 NI_CtrInternalOutput(0),
1430 NI_CtrInternalOutput(1),
1431 NI_AO_SampleClockTimebase,
1432 NI_AnalogComparisonEvent,
1433 0, /* Termination */
1437 .dest = NI_AO_SampleClockTimebase,
1466 NI_AnalogComparisonEvent,
1467 0, /* Termination */
1471 .dest = NI_AO_StartTrigger,
1498 NI_AnalogComparisonEvent,
1499 0, /* Termination */
1503 .dest = NI_AO_PauseTrigger,
1529 NI_AnalogComparisonEvent,
1530 0, /* Termination */
1534 .dest = NI_DI_SampleClock,
1560 NI_CtrInternalOutput(0),
1561 NI_CtrInternalOutput(1),
1566 NI_ChangeDetectionEvent,
1567 NI_AnalogComparisonEvent,
1568 0, /* Termination */
1572 .dest = NI_DO_SampleClock,
1598 NI_CtrInternalOutput(0),
1599 NI_CtrInternalOutput(1),
1604 NI_ChangeDetectionEvent,
1605 NI_AnalogComparisonEvent,
1606 0, /* Termination */
1609 { /* Termination of list */