diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-27 07:59:34 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-27 07:59:34 +0200 |
commit | c79bc7073eb65f08b724a3893d183d20781f06e2 (patch) | |
tree | 4ba831283a05a52213d05cb2a0c318b03502f296 /src/drivers | |
parent | b928897ab525a79eb2fad202fc28ef0235adeb50 (diff) | |
download | px4-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.h | 7 |
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) /* * |