mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 08:43:34 +08:00
drivers: added filter control ioctls
This commit is contained in:
committed by
Lorenz Meier
parent
8bc550b619
commit
76c2c9a46d
@@ -103,4 +103,10 @@ struct accel_calibration_s {
|
||||
/** get the result of a sensor self-test */
|
||||
#define ACCELIOCSELFTEST _ACCELIOC(9)
|
||||
|
||||
/** set the hardware low-pass filter cut-off no lower than (arg) Hz */
|
||||
#define ACCELIOCSHWLOWPASS _ACCELIOC(10)
|
||||
|
||||
/** get the hardware low-pass filter cut-off in Hz*/
|
||||
#define ACCELIOCGHWLOWPASS _ACCELIOC(11)
|
||||
|
||||
#endif /* _DRV_ACCEL_H */
|
||||
|
||||
@@ -100,4 +100,10 @@ struct gyro_calibration_s {
|
||||
/** check the status of the sensor */
|
||||
#define GYROIOCSELFTEST _GYROIOC(8)
|
||||
|
||||
/** set the hardware low-pass filter cut-off no lower than (arg) Hz */
|
||||
#define GYROIOCSHWLOWPASS _GYROIOC(9)
|
||||
|
||||
/** get the hardware low-pass filter cut-off in Hz*/
|
||||
#define GYROIOCGHWLOWPASS _GYROIOC(10)
|
||||
|
||||
#endif /* _DRV_GYRO_H */
|
||||
|
||||
Reference in New Issue
Block a user