Jan Mohr
c97d6e7f26
drivers/lis2dh12: release instead of acquire
2022-07-21 15:51:01 +02:00
Francisco Molina
b229f77ac1
drivers/lis2dh12: use ifdef instead of IS_USED
...
Using IS_USED leads to undefined API references
2022-01-25 08:45:09 +01:00
d9fe3a74e5
drivers/lis2dh12: migrate to ztimer
2021-12-11 16:53:14 +01:00
Gunar Schorcht
312c31dce5
drivers: update to new I2C API
2021-11-29 06:35:25 +01:00
Marian Buschsieweke
732cbd969c
drivers: update to new periph_spi API
2021-09-01 21:38:40 +02:00
Benjamin Valentin
392bacd9c7
drivers/lis2dh12: add support for temperature sensor
2021-06-03 12:59:50 +02:00
Benjamin Valentin
28148b7dc3
drivers/lis2dh12: general cleanup
...
Don't expose raw register values for the user to figure out
2021-06-03 12:59:50 +02:00
Benjamin Valentin
e8264d3ea9
drivers/lis2dh12: fix event handling
...
Don't push event handling to the user.
2021-06-03 12:59:50 +02:00
Benjamin Valentin
db0edd3ec1
drivers/lis2dh12: power mode -> resolution
...
This is easier to understand.
2021-04-23 17:21:04 +02:00
benpicco
753c833109
Merge pull request #15871 from jan-mo/feat/20210120_lis2dh12_extension
...
driver_lis2dh12: functionality extension
2021-03-04 15:20:55 +01:00
Jan Mohr
4598602176
drivers/lis2dh12: functionality extension
2021-03-04 00:43:04 +01:00
iosabi
2aa7b92884
drivers/lis2dh12: Rename CS ad MODE to avoid conflicts
...
CS and MODE are a bit too generic macros and may conflict with headers
defined by the CPU, like in the QN908x case.
This patch renames them to BUS_CS and BUS_MODE to keep it consistent
with the other BUS names.
2021-01-31 16:27:23 +00:00
Bas Stottelaar
92b1dfc703
drivers/*: realign ENABLE_DEBUG
2020-10-23 01:26:09 +02:00
Gunar Schorcht
6d61381d2a
drivers: use inline functions for GPIO comparisons
...
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, drivers must first be changed so that they use the inline comparison functions.
2020-08-31 13:10:28 +02:00
Jan Mohr
aa5ffe5a6d
drivers/lis2dh12: added interrupt function
2020-03-04 17:01:58 +01:00
Hauke Petersen
8a69e4ac69
drivers/lis2dh12: added I2C mode
2019-10-02 11:16:39 +02:00
Hauke Petersen
09dab1a9fb
drivers: add support for STM lis2dh12 accelerometer
2018-01-18 18:39:43 +01:00