aboutsummaryrefslogtreecommitdiffstats
path: root/os/ex/ST/lis302dl.h
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2018-03-14 13:28:50 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2018-03-14 13:28:50 +0000
commitdc5651bf5260ca1b2829d1127e29dec1dee13156 (patch)
treefe923317dc8d679209e56f6e193442aa5c43c501 /os/ex/ST/lis302dl.h
parentac645ed6763094bb9fba7709de2e31e91d97a693 (diff)
downloadChibiOS-dc5651bf5260ca1b2829d1127e29dec1dee13156.tar.gz
ChibiOS-dc5651bf5260ca1b2829d1127e29dec1dee13156.tar.bz2
ChibiOS-dc5651bf5260ca1b2829d1127e29dec1dee13156.zip
Removed spaces before newline
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11745 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/ex/ST/lis302dl.h')
-rw-r--r--os/ex/ST/lis302dl.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/os/ex/ST/lis302dl.h b/os/ex/ST/lis302dl.h
index 120929a89..d4351d6cd 100644
--- a/os/ex/ST/lis302dl.h
+++ b/os/ex/ST/lis302dl.h
@@ -63,17 +63,17 @@
/**
* @brief LIS302DL accelerometer subsystem characteristics.
- * @note Sensitivity is expressed as milli-G/LSB whereas
+ * @note Sensitivity is expressed as milli-G/LSB whereas
* 1 milli-G = 0.00980665 m/s^2.
* @note Bias is expressed as milli-G.
*
* @{
*/
#define LIS302DL_ACC_NUMBER_OF_AXES 3U
-
+
#define LIS302DL_ACC_2G 2.0f
#define LIS302DL_ACC_8G 8.0f
-
+
#define LIS302DL_ACC_SENS_2G 18.0f
#define LIS302DL_ACC_SENS_8G 72.0f
@@ -126,13 +126,13 @@
* @name LIS302DL_CTRL_REG1 register bits definitions
* @{
*/
-#define LIS302DL_CTRL_REG1_MASK 0xFF
+#define LIS302DL_CTRL_REG1_MASK 0xFF
#define LIS302DL_CTRL_REG1_XEN (1 << 0)
#define LIS302DL_CTRL_REG1_YEN (1 << 1)
#define LIS302DL_CTRL_REG1_ZEN (1 << 2)
#define LIS302DL_CTRL_REG1_STM (1 << 3)
#define LIS302DL_CTRL_REG1_STP (1 << 4)
-#define LIS302DL_CTRL_REG1_FS_MASK 0x20
+#define LIS302DL_CTRL_REG1_FS_MASK 0x20
#define LIS302DL_CTRL_REG1_FS (1 << 5)
#define LIS302DL_CTRL_REG1_PD (1 << 6)
#define LIS302DL_CTRL_REG1_DR (1 << 7)
@@ -141,8 +141,8 @@
/**
* @name LIS302DL_CTRL_REG2 register bits definitions
* @{
- */
-#define LIS302DL_CTRL_REG2_MASK 0xDF
+ */
+#define LIS302DL_CTRL_REG2_MASK 0xDF
#define LIS302DL_CTRL_REG2_HPCF1 (1 << 0)
#define LIS302DL_CTRL_REG2_HPCF2 (1 << 1)
#define LIS302DL_CTRL_REG2_HPFFWU1 (1 << 2)
@@ -155,8 +155,8 @@
/**
* @name LIS302DL_CTRL_REG3 register bits definitions
* @{
- */
-#define LIS302DL_CTRL_REG3_MASK 0xFF
+ */
+#define LIS302DL_CTRL_REG3_MASK 0xFF
#define LIS302DL_CTRL_REG3_I1CFG0 (1 << 0)
#define LIS302DL_CTRL_REG3_I1CFG1 (1 << 1)
#define LIS302DL_CTRL_REG3_I1CFG2 (1 << 2)
@@ -214,7 +214,7 @@
#endif
/**
- * @brief LIS302DL accelerometer subsystem advanced configurations
+ * @brief LIS302DL accelerometer subsystem advanced configurations
* switch.
* @details If set to @p TRUE more configurations are available.
* @note The default is @p FALSE.
@@ -359,8 +359,8 @@ typedef struct {
#define _lis302dl_methods_alone \
/* Change full scale value of LIS302DL .*/ \
msg_t (*set_full_scale)(LIS302DLDriver *devp, lis302dl_acc_fs_t fs);
-
-
+
+
/**
* @brief @p LIS302DL specific methods with inherited ones.
*/