drivers/ccs811: fix typos
This commit is contained in:
parent
da4d5be21f
commit
6f6ca90270
@ -186,7 +186,7 @@ int ccs811_set_mode(ccs811_t *dev, ccs811_mode_t mode)
|
|||||||
return -CCS811_ERROR_I2C;
|
return -CCS811_ERROR_I2C;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check whether setting measurement mode were succesfull */
|
/* check whether setting measurement mode were successful */
|
||||||
if (_reg_read(dev, CCS811_REG_MEAS_MODE, (uint8_t *)®, 1) != CCS811_OK) {
|
if (_reg_read(dev, CCS811_REG_MEAS_MODE, (uint8_t *)®, 1) != CCS811_OK) {
|
||||||
DEBUG_DEV("could not read new measurement mode "
|
DEBUG_DEV("could not read new measurement mode "
|
||||||
"from register CCS811_REG_MEAS_MODE", dev);
|
"from register CCS811_REG_MEAS_MODE", dev);
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
The driver is for the usage with [RIOT-OS](https://github.com/RIOT-OS/RIOT).
|
The driver is for the usage with [RIOT-OS](https://github.com/RIOT-OS/RIOT).
|
||||||
|
|
||||||
## <a name="toc"> Table of contets </a>
|
## <a name="toc"> Table of contents </a>
|
||||||
|
|
||||||
1. [Overview](#overview)
|
1. [Overview](#overview)
|
||||||
1. [About the sensor](#about)
|
1. [About the sensor](#about)
|
||||||
@ -46,7 +46,7 @@ The sensor allows to
|
|||||||
- correct baseline automatically or manually
|
- correct baseline automatically or manually
|
||||||
- connect a NTC thermistor to provide means of calculating the local
|
- connect a NTC thermistor to provide means of calculating the local
|
||||||
ambient temperature,
|
ambient temperature,
|
||||||
- power-save using a sleep mode and wakup feature.
|
- power-save using a sleep mode and wakeup feature.
|
||||||
|
|
||||||
@note The sensor is connected to I2C interface and uses clock stretching.
|
@note The sensor is connected to I2C interface and uses clock stretching.
|
||||||
The I2C implementation of the MCU has to support clock stretching
|
The I2C implementation of the MCU has to support clock stretching
|
||||||
@ -71,7 +71,7 @@ read raw and converted gas sensor data (eCO2, TVOC) | `ccs811`
|
|||||||
poling for new sensor gas data | `ccs811`
|
poling for new sensor gas data | `ccs811`
|
||||||
power saving using sleep mode with wakeup | `ccs811`
|
power saving using sleep mode with wakeup | `ccs811`
|
||||||
data ready and threshold interrupt handling | `ccs811_full`
|
data ready and threshold interrupt handling | `ccs811_full`
|
||||||
ambient temperatur calculation with NTC | `ccs811_full`
|
ambient temperature calculation with NTC | `ccs811_full`
|
||||||
compensate gas readings using an external sensor | `ccs811_full`
|
compensate gas readings using an external sensor | `ccs811_full`
|
||||||
manual baseline handling | `ccs811_full`
|
manual baseline handling | `ccs811_full`
|
||||||
|
|
||||||
@ -448,7 +448,7 @@ defining according macros before including **ccs811_params.h**, for example:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, the complete set of default configuration parameters could
|
Alternatively, the complete set of default configuration parameters could
|
||||||
also be overriden by a single definition, for example:
|
also be overridden by a single definition, for example:
|
||||||
```
|
```
|
||||||
#define CCS811_PARAMS { .i2c_dev = I2C, \
|
#define CCS811_PARAMS { .i2c_dev = I2C, \
|
||||||
.i2c_addr = CCS811_I2C_ADDRESS_2, \
|
.i2c_addr = CCS811_I2C_ADDRESS_2, \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user