Marian Buschsieweke
16f859dafd
drivers/saul: use const qualifier for data to write
...
This makes life easier when calling e.g. `saul_reg_write()` with data
stored in flash.
As now the signatures for reading and writing differ (in that `const`
qualifier only), `saul_notsup()` is split into `saul_write_notsup()`
and `saul_read_notsup()`. However, one is implemented as a symbol alias
of the other, so that ROM consumption remains unchanged.
2022-05-23 08:35:27 +02:00
MrKevinWeiss
af45f94a2f
drivers/adcxx1c: Update kconfig model
2022-03-02 14:03:28 +01:00
b4267fbd5e
drivers: make use of new driver_with_saul.mk where applicable
2022-01-06 12:07:07 +01:00
749bcd530c
drivers/adcxx1c: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
Leandro Lanzieri
6eecaef9dc
drivers/adcxx1c: add module to Kconfig
2020-11-18 18:38:46 +01:00
Bas Stottelaar
92b1dfc703
drivers/*: realign ENABLE_DEBUG
2020-10-23 01:26:09 +02:00
Bas Stottelaar
4bdfe9a254
drivers/*: add missing include of assert.h
2020-10-22 11:13:08 +02:00
7c029c7f43
Merge pull request #14907 from OTAkeys/pr/adcxx1c_get_alert
...
drivers/adcxx1c: add clear alert function
2020-09-28 13:28:15 +02:00
Vincent Dupont
8526e68b70
drivers/adcxx1c: add clear alert function
2020-08-31 15:53:53 +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
304bce3724
drivers: configure per driver dependency resolution
2020-07-20 14:32:16 +02:00
490126cfa0
drivers: move USEMODULE_INCLUDES in each driver directories
2020-07-15 20:36:27 +02:00
Akshai M
358d7eb616
drivers/adcxx1c_params.h : Add Group
...
Add CT Params to sensors group in Config for Doxygen
2020-04-14 20:52:16 +05:30
a62797e8ba
drivers/adcxx1c: fix typos
2019-11-23 22:39:39 +01:00
Leandro Lanzieri
ef6207da06
drivers/adcxxc1: expose configuration via config group
2019-05-08 15:22:41 +02:00
MrKevinWeiss
3ed9060527
drivers: adcxx1c, ads101x, ad7746: Change I2C macro to DEV
...
Due to a name clash the helper macro I2C should be change.
Helper macros in other drivers are called DEV.
Changing to DEV fixes the naming conflict.
2019-04-08 14:08:07 +02:00
Vincent Dupont
2311cdda07
drivers/adcxx1c: fix phydat usage in saul wrapper
2019-01-11 17:40:55 +01:00
Vincent Dupont
6cf48416e5
drivers/adcxx1c: add error checking from i2c
2019-01-11 17:40:55 +01:00
Vincent Dupont
38da047864
drivers/adcxx1c: fix SAUL return value in case of read error
2019-01-11 16:31:51 +01:00
Vincent Dupont
034d7f0b8f
adcxx1c: adapt to new i2c API
2018-07-25 12:01:40 +02:00
a08e9919a9
drivers: fix doxygen grouping
2018-06-11 19:10:40 +02:00
adb848fbbf
drivers/adcxx1c: use new driver params scheme
2018-03-01 13:34:06 +01:00
94c753c07a
drivers: doxygen cleanup
2017-09-01 15:12:20 +02:00
smlng
946256d26f
saul: use const for device parameter
2017-06-26 20:25:37 +02:00
smlng
12f12a34e4
drivers/adcxx1c: use generic device name for SAUL
2017-06-26 09:46:09 +02:00
smlng
f1f80c0098
drivers/adcxx1c: use pseudomodules for device variants
2017-06-26 09:46:09 +02:00
Vincent Dupont
35056fd647
drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support
2017-06-26 09:46:03 +02:00