diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-03-13 08:46:58 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-03-13 08:46:58 +0000 |
commit | 135fe719157af778705fd17dd943e672e19030c7 (patch) | |
tree | 21c0144aa51f80a2c5a30cb5288b24b1d82d5a9a /os/ex/ST/lps25h.h | |
parent | 9d221630edbec59e50b7a8cf630d3e4a0ee4bf21 (diff) | |
download | ChibiOS-135fe719157af778705fd17dd943e672e19030c7.tar.gz ChibiOS-135fe719157af778705fd17dd943e672e19030c7.tar.bz2 ChibiOS-135fe719157af778705fd17dd943e672e19030c7.zip |
Cosmetic changes
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11716 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/ex/ST/lps25h.h')
-rw-r--r-- | os/ex/ST/lps25h.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/os/ex/ST/lps25h.h b/os/ex/ST/lps25h.h index 22b6b326c..8bb5ac3db 100644 --- a/os/ex/ST/lps25h.h +++ b/os/ex/ST/lps25h.h @@ -304,59 +304,59 @@ typedef struct LPS25HDriver LPS25HDriver;
/**
- * @brief LPS25H slave address
+ * @brief LPS25H slave address
*/
typedef enum {
- LPS25H_SAD_GND = 0x5C, /**< Slave Address when SA0 is to GND */
- LPS25H_SAD_VCC = 0x5D /**< Slave Address when SA0 is to VCC */
+ LPS25H_SAD_GND = 0x5C, /**< Slave Address when SA0 is to GND */
+ LPS25H_SAD_VCC = 0x5D /**< Slave Address when SA0 is to VCC */
}lps25h_sad_t;
/** * @brief LPS25H output data rate and bandwidth. */ typedef enum {
- LPS25H_ODR_ONE_SHOT = 0x00, /**< One shot. */ - LPS25H_ODR_1HZ = 0x10, /**< Output data rate 1 Hz. */ - LPS25H_ODR_7HZ = 0x20, /**< Output data rate 7 Hz. */ - LPS25H_ODR_12P5HZ = 0x30, /**< Output data rate 12.5 Hz. */ - LPS25H_ODR_25HZ = 0x40 /**< Output data rate 25 Hz. */ + LPS25H_ODR_ONE_SHOT = 0x00, /**< One shot. */ + LPS25H_ODR_1HZ = 0x10, /**< Output data rate 1 Hz. */ + LPS25H_ODR_7HZ = 0x20, /**< Output data rate 7 Hz. */ + LPS25H_ODR_12P5HZ = 0x30, /**< Output data rate 12.5 Hz. */ + LPS25H_ODR_25HZ = 0x40 /**< Output data rate 25 Hz. */ }lps25h_odr_t; /**
* @brief LPS25H pressure resolution.
*/
typedef enum {
- LPS25H_AVGP_8 = 0x00, /**< Number of internal average is 8. */
- LPS25H_AVGP_32 = 0x01, /**< Number of internal average is 32. */
- LPS25H_AVGP_128 = 0x02, /**< Number of internal average is 128. */
- LPS25H_AVGP_512 = 0x03, /**< Number of internal average is 512. */
+ LPS25H_AVGP_8 = 0x00, /**< Number of internal average is 8. */
+ LPS25H_AVGP_32 = 0x01, /**< Number of internal average is 32. */
+ LPS25H_AVGP_128 = 0x02, /**< Number of internal average is 128. */
+ LPS25H_AVGP_512 = 0x03, /**< Number of internal average is 512. */
}lps25h_avgp_t;
/**
* @brief LPS25H temperature resolution.
*/
typedef enum {
- LPS25H_AVGT_8 = 0x00, /**< Number of internal average is 8. */
- LPS25H_AVGT_32 = 0x04, /**< Number of internal average is 32. */
- LPS25H_AVGT_128 = 0x08, /**< Number of internal average is 128. */
- LPS25H_AVGT_512 = 0x0C, /**< Number of internal average is 512. */
+ LPS25H_AVGT_8 = 0x00, /**< Number of internal average is 8. */
+ LPS25H_AVGT_32 = 0x04, /**< Number of internal average is 32. */
+ LPS25H_AVGT_128 = 0x08, /**< Number of internal average is 128. */
+ LPS25H_AVGT_512 = 0x0C, /**< Number of internal average is 512. */
}lps25h_avgt_t;
/** * @brief LPS25H block data update. */ typedef enum { - LPS25H_BDU_CONTINUOUS = 0x00, /**< Block data continuously updated. */ - LPS25H_BDU_BLOCKED = 0x40 /**< Block data updated after reading. */ + LPS25H_BDU_CONTINUOUS = 0x00, /**< Block data continuously updated. */ + LPS25H_BDU_BLOCKED = 0x40 /**< Block data updated after reading. */ }lps25h_bdu_t; /** * @brief Driver state machine possible states. */ typedef enum { - LPS25H_UNINIT = 0, /**< Not initialized. */ - LPS25H_STOP = 1, /**< Stopped. */ - LPS25H_READY = 2, /**< Ready. */ + LPS25H_UNINIT = 0, /**< Not initialized. */ + LPS25H_STOP = 1, /**< Stopped. */ + LPS25H_READY = 2, /**< Ready. */ } lps25h_state_t; /** |