drivers: added filter control ioctls

This commit is contained in:
Andrew Tridgell authored and Lorenz Meier committed 2016-05-22 13:09:04 +02:00
1 parent 8bc550b619
commit 76c2c9a46d
2 files changed
+12

No files matched your search

+6
View File
@@ -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 */
+6
View File
@@ -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 */