Skip to content
Snippets Groups Projects
Commit 76c2c9a4 authored by Andrew Tridgell's avatar Andrew Tridgell Committed by Lorenz Meier
Browse files

drivers: added filter control ioctls

parent 8bc550b6
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment