1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

29 Commits

Author SHA1 Message Date
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
Francisco Molina
2cc5af664e treewide: make all modules use Kconfig ZTIMER_USEC indirection 2022-03-17 14:33:07 +01:00
MrKevinWeiss
65e774f819
drivers/ccs811: Update kconfig model 2022-03-04 14:15:34 +01:00
b4267fbd5e
drivers: make use of new driver_with_saul.mk where applicable 2022-01-06 12:07:07 +01:00
2a1be13f17
drivers/ccs811: migrate to ztimer 2021-12-08 15:15:30 +01:00
Gunar Schorcht
27265095cd drivers/ccs811: fix the data ready check
When the measurement results are read from the `ALG_RESULT_DATA` register set including the STATUS register, the `DATA_RDY` flag in the STATUS register is already cleared during reading. Therefore it is not possible to check this flag after the `ALG_RESULT_DATA` has been read. Therefore the function `ccs811_read_iaq` always returned `CCS811_ERROR_NO_NEW_DATA` although the data were valid either after checking for new data with the function `ccs811_data_ready` or after triggering the Data Ready interrupt.
2021-12-04 13:43:31 +01:00
Gunar Schorcht
312c31dce5 drivers: update to new I2C API 2021-11-29 06:35:25 +01:00
Leandro Lanzieri
a8d679062a
drivers/ccs811/kconfig: add feature symbol 2021-11-18 09:03:07 +01:00
Gunar Schorcht
8e88906445 drivers/ccs811: fix of documentation 2021-11-09 19:50:07 +01:00
a4e35a467e
drivers/ccs811: 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
Ichiro Kuroki
216943588e drivers/ccs811: fix default config for ccs811_full 2021-05-06 06:47:17 +03:00
Leandro Lanzieri
bf2486a195
drivers/ccs811: add modules to Kconfig 2020-11-25 12:00:39 +01:00
Bas Stottelaar
62994dfb16 drivers/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:34:12 +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
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
Gunar Schorcht
1d79de0c92 drivers/ccs811: fix broken links 2020-03-24 10:38:40 +01:00
6f6ca90270 drivers/ccs811: fix typos 2019-11-23 22:39:39 +01:00
Francois Berder
4a31f94cfc many typo fixes
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Kees Bakker
fa431c4e97 drivers/ccs811: remove unnecessary casts 2019-01-06 14:41:47 +01:00
74d97de11d drivers/ccs811: cleanup documentation (fix codacy) 2018-12-20 12:42:44 +01:00
Gunar Schorcht
3181a2faa7 drivers/ccs811: nWAKE and nRESET moved to base 2018-12-20 12:42:44 +01:00
Gunar Schorcht
d513e9d3d3 drivers/ccs811: fix build issues on AVR platform 2018-12-20 12:42:44 +01:00
8a7edeb193 drivers/ccs811: fix build issues on ARM (#1)
* drivers/ccs811: fix types in debug messages

* drivers/driver_ccs811_full: fix unused variable build error
2018-12-20 12:42:44 +01:00
Schorcht
98af7d3d62 drivers: add driver for CCS811 gas sensor 2018-12-20 12:42:44 +01:00
Schorcht
74e1ab220c drivers: add driver for CCS811 gas sensor 2018-12-20 12:42:44 +01:00