diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-09 12:02:26 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-09 12:02:26 -0500 |
commit | 1ea476ca24fc1cc621a76694f71df9d812ffd44c (patch) | |
tree | 9e2ba44a3f0969115718d3d1f86e97dfdfefdae5 /watch-library/driver | |
parent | 496530c85c3848c04fcafa912d11b0f1991777c1 (diff) | |
download | Sensor-Watch-1ea476ca24fc1cc621a76694f71df9d812ffd44c.tar.gz Sensor-Watch-1ea476ca24fc1cc621a76694f71df9d812ffd44c.tar.bz2 Sensor-Watch-1ea476ca24fc1cc621a76694f71df9d812ffd44c.zip |
remove unused enums
Diffstat (limited to 'watch-library/driver')
-rw-r--r-- | watch-library/driver/lis2dw.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/watch-library/driver/lis2dw.h b/watch-library/driver/lis2dw.h index ac2d60bb..7a0e0cbb 100644 --- a/watch-library/driver/lis2dw.h +++ b/watch-library/driver/lis2dw.h @@ -81,29 +81,6 @@ typedef enum { LIS2DW_RANGE_2_G = 0b00 // +/- 2g (default value) } lis2dw_range_t; -typedef enum { - LIS2DW_INTERRUPT_CONFIGURATION_OR = 0b00000000, - LIS2DW_INTERRUPT_CONFIGURATION_AND = 0b10000000, - LIS2DW_INTERRUPT_CONFIGURATION_6D_MOVEMENT = 0b01000000, - LIS2DW_INTERRUPT_CONFIGURATION_6D_POSITION = 0b11000000, // in 6D mode, these have an alternate meaning: - LIS2DW_INTERRUPT_CONFIGURATION_Z_HIGH_ENABLE = 0b00100000, // Z up enable - LIS2DW_INTERRUPT_CONFIGURATION_Z_LOW_ENABLE = 0b00010000, // Z down enable - LIS2DW_INTERRUPT_CONFIGURATION_Y_HIGH_ENABLE = 0b00001000, // Y up enable - LIS2DW_INTERRUPT_CONFIGURATION_Y_LOW_ENABLE = 0b00000100, // Y down enable - LIS2DW_INTERRUPT_CONFIGURATION_X_HIGH_ENABLE = 0b00000010, // X up enable - LIS2DW_INTERRUPT_CONFIGURATION_X_LOW_ENABLE = 0b00000001, // X down enable -} lis2dw_interrupt_configuration; - -typedef enum { - LIS2DW_INTERRUPT_STATE_ACTIVE = 0b01000000, - LIS2DW_INTERRUPT_STATE_Z_HIGH = 0b00100000, // Z up - LIS2DW_INTERRUPT_STATE_Z_LOW = 0b00010000, // Z down - LIS2DW_INTERRUPT_STATE_Y_HIGH = 0b00001000, // Y up - LIS2DW_INTERRUPT_STATE_Y_LOW = 0b00000100, // Y down - LIS2DW_INTERRUPT_STATE_X_HIGH = 0b00000010, // X up - LIS2DW_INTERRUPT_STATE_X_LOW = 0b00000001, // X down -} lis2dw_interrupt_state; - // Assumes SA0 is high; if low, its 0x18 #define LIS2DW_ADDRESS (0x19) |