PX4 Firmware
PX4 Autopilot Software http://px4.io
pwm_params_aux.c
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* Copyright (c) 2012-2016 PX4 Development Team. All rights reserved.
4
*
5
* Redistribution and use in source and binary forms, with or without
6
* modification, are permitted provided that the following conditions
7
* are met:
8
*
9
* 1. Redistributions of source code must retain the above copyright
10
* notice, this list of conditions and the following disclaimer.
11
* 2. Redistributions in binary form must reproduce the above copyright
12
* notice, this list of conditions and the following disclaimer in
13
* the documentation and/or other materials provided with the
14
* distribution.
15
* 3. Neither the name PX4 nor the names of its contributors may be
16
* used to endorse or promote products derived from this software
17
* without specific prior written permission.
18
*
19
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
29
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30
* POSSIBILITY OF SUCH DAMAGE.
31
*
32
****************************************************************************/
33
34
/**
35
* @file pwm_params_aux.c
36
*
37
* Parameters defined for PWM output.
38
*
39
*/
40
41
/******************************************************************************
42
* PWM_AUX_RATE *
43
******************************************************************************/
44
45
/**
46
* Set the PWM output frequency for the auxiliary outputs
47
*
48
* Set to 400 for industry default or 1000 for high frequency ESCs.
49
*
50
* Set to 0 for Oneshot125.
51
*
52
* @reboot_required true
53
*
54
* @min -1
55
* @max 2000
56
* @unit Hz
57
* @group PWM Outputs
58
*/
59
PARAM_DEFINE_INT32
(PWM_AUX_RATE, 50);
60
61
/**
62
* Set the minimum PWM for the auxiliary outputs
63
*
64
* Set to 1000 for industry default or 900 to increase servo travel.
65
*
66
* @reboot_required true
67
*
68
* @min 800
69
* @max 1400
70
* @unit us
71
* @group PWM Outputs
72
*/
73
PARAM_DEFINE_INT32
(PWM_AUX_MIN, 1000);
74
75
/**
76
* Set the maximum PWM for the auxiliary outputs
77
*
78
* Set to 2000 for industry default or 2100 to increase servo travel.
79
*
80
* @reboot_required true
81
*
82
* @min 1600
83
* @max 2200
84
* @unit us
85
* @group PWM Outputs
86
*/
87
PARAM_DEFINE_INT32
(PWM_AUX_MAX, 2000);
88
89
/**
90
* Set the disarmed PWM for auxiliary outputs
91
*
92
* This is the PWM pulse the autopilot is outputting if not armed.
93
* The main use of this parameter is to silence ESCs when they are disarmed.
94
*
95
* @reboot_required true
96
*
97
* @min 0
98
* @max 2200
99
* @unit us
100
* @group PWM Outputs
101
*/
102
PARAM_DEFINE_INT32
(PWM_AUX_DISARMED, 1500);
103
104
/******************************************************************************
105
* PWM_AUX_MIN *
106
******************************************************************************/
107
/**
108
* Set the min PWM value for the auxiliary 1 output
109
*
110
* This is the minimum PWM pulse the autopilot is allowed to output.
111
* When set to -1 the value for PWM_AUX_MIN will be used
112
*
113
* @reboot_required true
114
*
115
* @min -1
116
* @max 2200
117
* @unit us
118
* @group PWM Outputs
119
*/
120
PARAM_DEFINE_INT32
(PWM_AUX_MIN1, -1);
121
122
/**
123
* Set the min PWM value for the auxiliary 2 output
124
*
125
* This is the minimum PWM pulse the autopilot is allowed to output.
126
* When set to -1 the value for PWM_AUX_MIN will be used
127
*
128
* @reboot_required true
129
*
130
* @min -1
131
* @max 2200
132
* @unit us
133
* @group PWM Outputs
134
*/
135
PARAM_DEFINE_INT32
(PWM_AUX_MIN2, -1);
136
137
/**
138
* Set the min PWM value for the auxiliary 3 output
139
*
140
* This is the minimum PWM pulse the autopilot is allowed to output.
141
* When set to -1 the value for PWM_AUX_MIN will be used
142
*
143
* @reboot_required true
144
*
145
* @min -1
146
* @max 2200
147
* @unit us
148
* @group PWM Outputs
149
*/
150
PARAM_DEFINE_INT32
(PWM_AUX_MIN3, -1);
151
152
/**
153
* Set the min PWM value for the auxiliary 4 output
154
*
155
* This is the minimum PWM pulse the autopilot is allowed to output.
156
* When set to -1 the value for PWM_AUX_MIN will be used
157
*
158
* @reboot_required true
159
*
160
* @min -1
161
* @max 2200
162
* @unit us
163
* @group PWM Outputs
164
*/
165
PARAM_DEFINE_INT32
(PWM_AUX_MIN4, -1);
166
167
/**
168
* Set the min PWM value for the auxiliary 5 output
169
*
170
* This is the minimum PWM pulse the autopilot is allowed to output.
171
* When set to -1 the value for PWM_AUX_MIN will be used
172
*
173
* @reboot_required true
174
*
175
* @min -1
176
* @max 2200
177
* @unit us
178
* @group PWM Outputs
179
*/
180
PARAM_DEFINE_INT32
(PWM_AUX_MIN5, -1);
181
182
/**
183
* Set the min PWM value for the auxiliary 6 output
184
*
185
* This is the minimum PWM pulse the autopilot is allowed to output.
186
* When set to -1 the value for PWM_AUX_MIN will be used
187
*
188
* @reboot_required true
189
*
190
* @min -1
191
* @max 2200
192
* @unit us
193
* @group PWM Outputs
194
*/
195
PARAM_DEFINE_INT32
(PWM_AUX_MIN6, -1);
196
197
/**
198
* Set the min PWM value for the auxiliary 7 output
199
*
200
* This is the minimum PWM pulse the autopilot is allowed to output.
201
* When set to -1 the value for PWM_AUX_MIN will be used
202
*
203
* @reboot_required true
204
*
205
* @min -1
206
* @max 2200
207
* @unit us
208
* @group PWM Outputs
209
*/
210
PARAM_DEFINE_INT32
(PWM_AUX_MIN7, -1);
211
212
/**
213
* Set the min PWM value for the auxiliary 8 output
214
*
215
* This is the minimum PWM pulse the autopilot is allowed to output.
216
* When set to -1 the value for PWM_AUX_MIN will be used
217
*
218
* @reboot_required true
219
*
220
* @min -1
221
* @max 2200
222
* @unit us
223
* @group PWM Outputs
224
*/
225
PARAM_DEFINE_INT32
(PWM_AUX_MIN8, -1);
226
227
/******************************************************************************
228
* PWM_AUX_MAX *
229
******************************************************************************/
230
/**
231
* Set the max PWM value for the auxiliary 1 output
232
*
233
* This is the maximum PWM pulse the autopilot is allowed to output.
234
* When set to -1 the value for PWM_AUX_MAX will be used
235
*
236
* @reboot_required true
237
*
238
* @min -1
239
* @max 2200
240
* @unit us
241
* @group PWM Outputs
242
*/
243
PARAM_DEFINE_INT32
(PWM_AUX_MAX1, -1);
244
245
/**
246
* Set the max PWM value for the auxiliary 2 output
247
*
248
* This is the maximum PWM pulse the autopilot is allowed to output.
249
* When set to -1 the value for PWM_AUX_MAX will be used
250
*
251
* @reboot_required true
252
*
253
* @min -1
254
* @max 2200
255
* @unit us
256
* @group PWM Outputs
257
*/
258
PARAM_DEFINE_INT32
(PWM_AUX_MAX2, -1);
259
260
/**
261
* Set the max PWM value for the auxiliary 3 output
262
*
263
* This is the maximum PWM pulse the autopilot is allowed to output.
264
* When set to -1 the value for PWM_AUX_MAX will be used
265
*
266
* @reboot_required true
267
*
268
* @min -1
269
* @max 2200
270
* @unit us
271
* @group PWM Outputs
272
*/
273
PARAM_DEFINE_INT32
(PWM_AUX_MAX3, -1);
274
275
/**
276
* Set the max PWM value for the auxiliary 4 output
277
*
278
* This is the maximum PWM pulse the autopilot is allowed to output.
279
* When set to -1 the value for PWM_AUX_MAX will be used
280
*
281
* @reboot_required true
282
*
283
* @min -1
284
* @max 2200
285
* @unit us
286
* @group PWM Outputs
287
*/
288
PARAM_DEFINE_INT32
(PWM_AUX_MAX4, -1);
289
290
/**
291
* Set the max PWM value for the auxiliary 5 output
292
*
293
* This is the maximum PWM pulse the autopilot is allowed to output.
294
* When set to -1 the value for PWM_AUX_MAX will be used
295
*
296
* @reboot_required true
297
*
298
* @min -1
299
* @max 2200
300
* @unit us
301
* @group PWM Outputs
302
*/
303
PARAM_DEFINE_INT32
(PWM_AUX_MAX5, -1);
304
305
/**
306
* Set the max PWM value for the auxiliary 6 output
307
*
308
* This is the maximum PWM pulse the autopilot is allowed to output.
309
* When set to -1 the value for PWM_AUX_MAX will be used
310
*
311
* @reboot_required true
312
*
313
* @min -1
314
* @max 2200
315
* @unit us
316
* @group PWM Outputs
317
*/
318
PARAM_DEFINE_INT32
(PWM_AUX_MAX6, -1);
319
320
/**
321
* Set the max PWM value for the auxiliary 7 output
322
*
323
* This is the maximum PWM pulse the autopilot is allowed to output.
324
* When set to -1 the value for PWM_AUX_MAX will be used
325
*
326
* @reboot_required true
327
*
328
* @min -1
329
* @max 2200
330
* @unit us
331
* @group PWM Outputs
332
*/
333
PARAM_DEFINE_INT32
(PWM_AUX_MAX7, -1);
334
335
/**
336
* Set the max PWM value for the auxiliary 8 output
337
*
338
* This is the maximum PWM pulse the autopilot is allowed to output.
339
* When set to -1 the value for PWM_AUX_MAX will be used
340
*
341
* @reboot_required true
342
*
343
* @min -1
344
* @max 2200
345
* @unit us
346
* @group PWM Outputs
347
*/
348
PARAM_DEFINE_INT32
(PWM_AUX_MAX8, -1);
349
350
/******************************************************************************
351
* PWM_AUX_FAIL *
352
******************************************************************************/
353
/**
354
* Set the failsafe PWM for the auxiliary 1 output
355
*
356
* This is the PWM pulse the autopilot is outputting if in failsafe mode.
357
* When set to -1 the value is set automatically depending if the actuator
358
* is a motor (900us) or a servo (1500us)
359
*
360
* @reboot_required true
361
*
362
* @min -1
363
* @max 2200
364
* @unit us
365
* @group PWM Outputs
366
*/
367
PARAM_DEFINE_INT32
(PWM_AUX_FAIL1, -1);
368
369
/**
370
* Set the failsafe PWM for the auxiliary 2 output
371
*
372
* This is the PWM pulse the autopilot is outputting if in failsafe mode.
373
* When set to -1 the value is set automatically depending if the actuator
374
* is a motor (900us) or a servo (1500us)
375
*
376
* @reboot_required true
377
*
378
* @min -1
379
* @max 2200
380
* @unit us
381
* @group PWM Outputs
382
*/
383
PARAM_DEFINE_INT32
(PWM_AUX_FAIL2, -1);
384
385
/**
386
* Set the failsafe PWM for the auxiliary 3 output
387
*
388
* This is the PWM pulse the autopilot is outputting if in failsafe mode.
389
* When set to -1 the value is set automatically depending if the actuator
390
* is a motor (900us) or a servo (1500us)
391
*
392
* @reboot_required true
393
*
394
* @min -1
395
* @max 2200
396
* @unit us
397
* @group PWM Outputs
398
*/
399
PARAM_DEFINE_INT32
(PWM_AUX_FAIL3, -1);
400
401
/**
402
* Set the failsafe PWM for the auxiliary 4 output
403
*
404
* This is the PWM pulse the autopilot is outputting if in failsafe mode.
405
* When set to -1 the value is set automatically depending if the actuator
406
* is a motor (900us) or a servo (1500us)
407
*
408
* @reboot_required true
409
*
410
* @min -1
411
* @max 2200
412
* @unit us
413
* @group PWM Outputs
414
*/
415
PARAM_DEFINE_INT32
(PWM_AUX_FAIL4, -1);
416
417
/**
418
* Set the failsafe PWM for the auxiliary 5 output
419
*
420
* This is the PWM pulse the autopilot is outputting if in failsafe mode.
421
* When set to -1 the value is set automatically depending if the actuator
422
* is a motor (900us) or a servo (1500us)
423
*
424
* @reboot_required true
425
*
426
* @min -1
427
* @max 2200
428
* @unit us
429
* @group PWM Outputs
430
*/
431
PARAM_DEFINE_INT32
(PWM_AUX_FAIL5, -1);
432
433
/**
434
* Set the failsafe PWM for the auxiliary 6 output
435
*
436
* This is the PWM pulse the autopilot is outputting if in failsafe mode.
437
* When set to -1 the value is set automatically depending if the actuator
438
* is a motor (900us) or a servo (1500us)
439
*
440
* @reboot_required true
441
*
442
* @min -1
443
* @max 2200
444
* @unit us
445
* @group PWM Outputs
446
*/
447
PARAM_DEFINE_INT32
(PWM_AUX_FAIL6, -1);
448
449
/**
450
* Set the failsafe PWM for the auxiliary 7 output
451
*
452
* This is the PWM pulse the autopilot is outputting if in failsafe mode.
453
* When set to -1 the value is set automatically depending if the actuator
454
* is a motor (900us) or a servo (1500us)
455
*
456
* @reboot_required true
457
*
458
* @min -1
459
* @max 2200
460
* @unit us
461
* @group PWM Outputs
462
*/
463
PARAM_DEFINE_INT32
(PWM_AUX_FAIL7, -1);
464
465
/**
466
* Set the failsafe PWM for the auxiliary 8 output
467
*
468
* This is the PWM pulse the autopilot is outputting if in failsafe mode.
469
* When set to -1 the value is set automatically depending if the actuator
470
* is a motor (900us) or a servo (1500us)
471
*
472
* @reboot_required true
473
*
474
* @min -1
475
* @max 2200
476
* @unit us
477
* @group PWM Outputs
478
*/
479
PARAM_DEFINE_INT32
(PWM_AUX_FAIL8, -1);
480
481
/******************************************************************************
482
* PWM_AUX_DIS *
483
******************************************************************************/
484
/**
485
* Set the disarmed PWM for the auxiliary 1 output
486
*
487
* This is the PWM pulse the autopilot is outputting if not armed.
488
* When set to -1 the value for PWM_AUX_DISARMED will be used
489
*
490
* @reboot_required true
491
*
492
* @min -1
493
* @max 2200
494
* @unit us
495
* @group PWM Outputs
496
*/
497
PARAM_DEFINE_INT32
(PWM_AUX_DIS1, -1);
498
499
/**
500
* Set the disarmed PWM for the auxiliary 2 output
501
*
502
* This is the PWM pulse the autopilot is outputting if not armed.
503
* When set to -1 the value for PWM_AUX_DISARMED will be used
504
*
505
* @reboot_required true
506
*
507
* @min -1
508
* @max 2200
509
* @unit us
510
* @group PWM Outputs
511
*/
512
PARAM_DEFINE_INT32
(PWM_AUX_DIS2, -1);
513
514
/**
515
* Set the disarmed PWM for the auxiliary 3 output
516
*
517
* This is the PWM pulse the autopilot is outputting if not armed.
518
* When set to -1 the value for PWM_AUX_DISARMED will be used
519
*
520
* @reboot_required true
521
*
522
* @min -1
523
* @max 2200
524
* @unit us
525
* @group PWM Outputs
526
*/
527
PARAM_DEFINE_INT32
(PWM_AUX_DIS3, -1);
528
529
/**
530
* Set the disarmed PWM for the auxiliary 4 output
531
*
532
* This is the PWM pulse the autopilot is outputting if not armed.
533
* When set to -1 the value for PWM_AUX_DISARMED will be used
534
*
535
* @reboot_required true
536
*
537
* @min -1
538
* @max 2200
539
* @unit us
540
* @group PWM Outputs
541
*/
542
PARAM_DEFINE_INT32
(PWM_AUX_DIS4, -1);
543
544
/**
545
* Set the disarmed PWM for the auxiliary 5 output
546
*
547
* This is the PWM pulse the autopilot is outputting if not armed.
548
* When set to -1 the value for PWM_AUX_DISARMED will be used
549
*
550
* @reboot_required true
551
*
552
* @min -1
553
* @max 2200
554
* @unit us
555
* @group PWM Outputs
556
*/
557
PARAM_DEFINE_INT32
(PWM_AUX_DIS5, -1);
558
559
/**
560
* Set the disarmed PWM for the auxiliary 6 output
561
*
562
* This is the PWM pulse the autopilot is outputting if not armed.
563
* When set to -1 the value for PWM_AUX_DISARMED will be used
564
*
565
* @reboot_required true
566
*
567
* @min -1
568
* @max 2200
569
* @unit us
570
* @group PWM Outputs
571
*/
572
PARAM_DEFINE_INT32
(PWM_AUX_DIS6, -1);
573
574
/**
575
* Set the disarmed PWM for the auxiliary 7 output
576
*
577
* This is the PWM pulse the autopilot is outputting if not armed.
578
* When set to -1 the value for PWM_AUX_DISARMED will be used
579
*
580
* @reboot_required true
581
*
582
* @min -1
583
* @max 2200
584
* @unit us
585
* @group PWM Outputs
586
*/
587
PARAM_DEFINE_INT32
(PWM_AUX_DIS7, -1);
588
589
/**
590
* Set the disarmed PWM for the auxiliary 8 output
591
*
592
* This is the PWM pulse the autopilot is outputting if not armed.
593
* When set to -1 the value for PWM_AUX_DISARMED will be used
594
*
595
* @reboot_required true
596
*
597
* @min -1
598
* @max 2200
599
* @unit us
600
* @group PWM Outputs
601
*/
602
PARAM_DEFINE_INT32
(PWM_AUX_DIS8, -1);
603
604
/******************************************************************************
605
* PWM_AUX_REV *
606
******************************************************************************/
607
/**
608
* Invert direction of auxiliary output channel 1
609
*
610
* Enable to invert the channel.
611
* Warning: Use this parameter when connected to a servo only.
612
* For a brushless motor, invert manually two phases to reverse the direction.
613
*
614
* @boolean
615
* @group PWM Outputs
616
*/
617
PARAM_DEFINE_INT32
(PWM_AUX_REV1, 0);
618
619
/**
620
* Invert direction of auxiliary output channel 2
621
*
622
* Enable to invert the channel.
623
* Warning: Use this parameter when connected to a servo only.
624
* For a brushless motor, invert manually two phases to reverse the direction.
625
*
626
* @boolean
627
* @group PWM Outputs
628
*/
629
PARAM_DEFINE_INT32
(PWM_AUX_REV2, 0);
630
631
/**
632
* Invert direction of auxiliary output channel 3
633
*
634
* Enable to invert the channel.
635
* Warning: Use this parameter when connected to a servo only.
636
* For a brushless motor, invert manually two phases to reverse the direction.
637
*
638
* @boolean
639
* @group PWM Outputs
640
*/
641
PARAM_DEFINE_INT32
(PWM_AUX_REV3, 0);
642
643
/**
644
* Invert direction of auxiliary output channel 4
645
*
646
* Enable to invert the channel.
647
* Warning: Use this parameter when connected to a servo only.
648
* For a brushless motor, invert manually two phases to reverse the direction.
649
*
650
* @boolean
651
* @group PWM Outputs
652
*/
653
PARAM_DEFINE_INT32
(PWM_AUX_REV4, 0);
654
655
/**
656
* Invert direction of auxiliary output channel 5
657
*
658
* Enable to invert the channel.
659
* Warning: Use this parameter when connected to a servo only.
660
* For a brushless motor, invert manually two phases to reverse the direction.
661
*
662
* @boolean
663
* @group PWM Outputs
664
*/
665
PARAM_DEFINE_INT32
(PWM_AUX_REV5, 0);
666
667
/**
668
* Invert direction of auxiliary output channel 6
669
*
670
* Enable to invert the channel.
671
* Warning: Use this parameter when connected to a servo only.
672
* For a brushless motor, invert manually two phases to reverse the direction.
673
*
674
* @boolean
675
* @group PWM Outputs
676
*/
677
PARAM_DEFINE_INT32
(PWM_AUX_REV6, 0);
678
679
/**
680
* Invert direction of auxiliary output channel 7
681
*
682
* Enable to invert the channel.
683
* Warning: Use this parameter when connected to a servo only.
684
* For a brushless motor, invert manually two phases to reverse the direction.
685
*
686
* @boolean
687
* @group PWM Outputs
688
*/
689
PARAM_DEFINE_INT32
(PWM_AUX_REV7, 0);
690
691
/**
692
* Invert direction of auxiliary output channel 8
693
*
694
* Enable to invert the channel.
695
* Warning: Use this parameter when connected to a servo only.
696
* For a brushless motor, invert manually two phases to reverse the direction.
697
*
698
* @boolean
699
* @group PWM Outputs
700
*/
701
PARAM_DEFINE_INT32
(PWM_AUX_REV8, 0);
702
703
/******************************************************************************
704
* PWM_AUX_TRIM *
705
******************************************************************************/
706
707
/**
708
* Trim value for auxiliary output channel 1
709
*
710
* Set to normalized offset
711
*
712
* @min -0.2
713
* @max 0.2
714
* @decimal 2
715
* @group PWM Outputs
716
*/
717
PARAM_DEFINE_FLOAT
(PWM_AUX_TRIM1, 0);
718
719
/**
720
* Trim value for auxiliary output channel 2
721
*
722
* Set to normalized offset
723
*
724
* @min -0.2
725
* @max 0.2
726
* @decimal 2
727
* @group PWM Outputs
728
*/
729
PARAM_DEFINE_FLOAT
(PWM_AUX_TRIM2, 0);
730
731
/**
732
* Trim value for auxiliary output channel 3
733
*
734
* Set to normalized offset
735
*
736
* @min -0.2
737
* @max 0.2
738
* @decimal 2
739
* @group PWM Outputs
740
*/
741
PARAM_DEFINE_FLOAT
(PWM_AUX_TRIM3, 0);
742
743
/**
744
* Trim value for auxiliary output channel 4
745
*
746
* Set to normalized offset
747
*
748
* @min -0.2
749
* @max 0.2
750
* @decimal 2
751
* @group PWM Outputs
752
*/
753
PARAM_DEFINE_FLOAT
(PWM_AUX_TRIM4, 0);
754
755
/**
756
* Trim value for auxiliary output channel 5
757
*
758
* Set to normalized offset
759
*
760
* @min -0.2
761
* @max 0.2
762
* @decimal 2
763
* @group PWM Outputs
764
*/
765
PARAM_DEFINE_FLOAT
(PWM_AUX_TRIM5, 0);
766
767
/**
768
* Trim value for auxiliary output channel 6
769
*
770
* Set to normalized offset
771
*
772
* @min -0.2
773
* @max 0.2
774
* @decimal 2
775
* @group PWM Outputs
776
*/
777
PARAM_DEFINE_FLOAT
(PWM_AUX_TRIM6, 0);
778
779
/**
780
* Trim value for auxiliary output channel 7
781
*
782
* Set to normalized offset
783
*
784
* @min -0.2
785
* @max 0.2
786
* @decimal 2
787
* @group PWM Outputs
788
*/
789
PARAM_DEFINE_FLOAT
(PWM_AUX_TRIM7, 0);
790
791
/**
792
* Trim value for auxiliary output channel 8
793
*
794
* Set to normalized offset
795
*
796
* @min -0.2
797
* @max 0.2
798
* @decimal 2
799
* @group PWM Outputs
800
*/
801
PARAM_DEFINE_FLOAT
(PWM_AUX_TRIM8, 0);
PARAM_DEFINE_INT32
PARAM_DEFINE_INT32(PWM_AUX_RATE, 50)
Set the PWM output frequency for the auxiliary outputs.
PARAM_DEFINE_FLOAT
PARAM_DEFINE_FLOAT(PWM_AUX_TRIM1, 0)
Trim value for auxiliary output channel 1.
src
modules
sensors
pwm_params_aux.c
Generated by
1.8.13