aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-08-27 07:59:34 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-08-27 07:59:34 +0200
commitc79bc7073eb65f08b724a3893d183d20781f06e2 (patch)
tree4ba831283a05a52213d05cb2a0c318b03502f296 /src/drivers
parentb928897ab525a79eb2fad202fc28ef0235adeb50 (diff)
downloadpx4-firmware-c79bc7073eb65f08b724a3893d183d20781f06e2.tar.gz
px4-firmware-c79bc7073eb65f08b724a3893d183d20781f06e2.tar.bz2
px4-firmware-c79bc7073eb65f08b724a3893d183d20781f06e2.zip
Support for termination failsafe in PWM out driver
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/drv_pwm_output.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/drivers/drv_pwm_output.h b/src/drivers/drv_pwm_output.h
index 5aff6825b..bc586f395 100644
--- a/src/drivers/drv_pwm_output.h
+++ b/src/drivers/drv_pwm_output.h
@@ -205,10 +205,13 @@ ORB_DECLARE(output_pwm);
#define PWM_SERVO_GET_DISABLE_LOCKDOWN _IOC(_PWM_SERVO_BASE, 22)
/** force safety switch off (to disable use of safety switch) */
-#define PWM_SERVO_SET_FORCE_SAFETY_OFF _IOC(_PWM_SERVO_BASE, 23)
+#define PWM_SERVO_SET_FORCE_SAFETY_OFF _IOC(_PWM_SERVO_BASE, 23)
/** force failsafe mode (failsafe values are set immediately even if failsafe condition not met) */
-#define PWM_SERVO_SET_FORCE_FAILSAFE _IOC(_PWM_SERVO_BASE, 24)
+#define PWM_SERVO_SET_FORCE_FAILSAFE _IOC(_PWM_SERVO_BASE, 24)
+
+/** make failsafe non-recoverable (termination) if it occurs */
+#define PWM_SERVO_SET_TERMINATION_FAILSAFE _IOC(_PWM_SERVO_BASE, 25)
/*
*