diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-03-10 13:53:44 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-03-10 13:53:44 +0000 |
commit | f2f3035c3c49daa3a62aa7606455da90d350190e (patch) | |
tree | 9b7bbf9b90832eb6b3f55450fc525b34566f8605 /os/ex/ST/l3gd20.h | |
parent | e0fcf2b6c7e1c722368934effec0e175bc7925d0 (diff) | |
download | ChibiOS-f2f3035c3c49daa3a62aa7606455da90d350190e.tar.gz ChibiOS-f2f3035c3c49daa3a62aa7606455da90d350190e.tar.bz2 ChibiOS-f2f3035c3c49daa3a62aa7606455da90d350190e.zip |
Improved EX drivers
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11685 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/ex/ST/l3gd20.h')
-rw-r--r-- | os/ex/ST/l3gd20.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/os/ex/ST/l3gd20.h b/os/ex/ST/l3gd20.h index 5f17eb91b..c57615040 100644 --- a/os/ex/ST/l3gd20.h +++ b/os/ex/ST/l3gd20.h @@ -64,6 +64,7 @@ * @brief L3GD20 gyroscope system characteristics.
* @note Sensitivity is expressed as DPS/LSB whereas DPS stand for Degree
* per second [°/s].
+ * @note Bias is expressed as DPS.
*
* @{
*/ @@ -73,9 +74,11 @@ #define L3GD20_500DPS 500.0f #define L3GD20_2000DPS 2000.0f -#define L3GD20_SENS_250DPS 0.00875f -#define L3GD20_SENS_500DPS 0.01750f -#define L3GD20_SENS_2000DPS 0.07000f +#define L3GD20_GYRO_SENS_250DPS 0.00875f +#define L3GD20_GYRO_SENS_500DPS 0.01750f +#define L3GD20_GYRO_SENS_2000DPS 0.07000f
+
+#define L3GD20_GYRO_BIAS 0.0f /** @} */ /** |