diff --git a/drivers/sensor/attributes.yaml b/drivers/sensor/attributes.yaml index fff103797127de..fa65afcd9371b8 100644 --- a/drivers/sensor/attributes.yaml +++ b/drivers/sensor/attributes.yaml @@ -4,7 +4,8 @@ attributes: sampling_frequency: name: "sampling rate" - description: "Sensor sampling frequency, i.e. how many times a second the sensor takes a measurement." + description: > + Sensor sampling frequency, i.e. how many times a second the sensor takes a measurement. lower_thresh: name: "lower threshold" description: "Lower threshold for trigger." @@ -16,7 +17,9 @@ attributes: description: "Threshold for any-motion (slope) trigger." slope_dur: name: "slope value threshold duration" - description: "Duration for which the slope values needs to be outside the threshold for the trigger to fire." + description: > + Duration for which the slope values needs to be outside the threshold for the trigger to + fire. hysteresis: name: "hysteresis" description: "Hysteresis for trigger thresholds." @@ -28,10 +31,14 @@ attributes: description: "Sensor range, in SI units." offset: name: "value offset" - description: "The sensor value returned will be altered by the amount indicated by offset: final_value = sensor_value + offset." + description: > + The sensor value returned will be altered by the amount indicated by offset: final_value = + sensor_value + offset. calib_target: name: "calibration target" - description: "Calibration target. This will be used by the internal chip's algorithms to calibrate itself on a certain axis, or all of them." + description: > + Calibration target. This will be used by the internal chip's algorithms to calibrate itself + on a certain axis, or all of them. configuration: name: "operating mode" description: "Configure the operating modes of a sensor." @@ -46,7 +53,10 @@ attributes: description: "Alert threshold or alert enable/disable" ff_dur: name: "free-fall duration" - description: "Free-fall duration represented in milliseconds. If the sampling frequency is changed during runtime, this attribute should be set to adjust freefall duration to the new sampling frequency." + description: > + Free-fall duration represented in milliseconds. If the sampling frequency is changed during + runtime, this attribute should be set to adjust freefall duration to the new sampling + frequency. batch_duration: name: "batch duration" description: "Hardware batch duration in ticks" diff --git a/drivers/sensor/bosch/bma4xx/sensor.yaml b/drivers/sensor/bosch/bma4xx/sensor.yaml index efaf4193049f25..5a2d36d0af316f 100644 --- a/drivers/sensor/bosch/bma4xx/sensor.yaml +++ b/drivers/sensor/bosch/bma4xx/sensor.yaml @@ -13,8 +13,7 @@ supported-buses: - i2c - spi description: | - Sensor driver implementation for https://www.bosch-sensortec.com/products/motion-sensors/accelerometers/bma422/ - and bma423 (no product landing page). + Sensor driver implementation for bma422 and bma423. channels: accel_x: [] accel_y: [] diff --git a/drivers/sensor/bosch/bmi160/sensor.yaml b/drivers/sensor/bosch/bmi160/sensor.yaml index c8e8da7ae05253..5b7ff72808fb3c 100644 --- a/drivers/sensor/bosch/bmi160/sensor.yaml +++ b/drivers/sensor/bosch/bmi160/sensor.yaml @@ -13,7 +13,7 @@ supported-buses: - i2c - spi description: | - Sensor driver implementation for https://www.bosch-sensortec.com/products/motion-sensors/imus/bmi160/. + Sensor driver implementation for bmi160. channels: accel_x: [] accel_y: [] diff --git a/drivers/sensor/channels.yaml b/drivers/sensor/channels.yaml index 3c52f57efd495b..6225fda3e1439c 100644 --- a/drivers/sensor/channels.yaml +++ b/drivers/sensor/channels.yaml @@ -113,7 +113,7 @@ channels: co2: name: "CO2" description: "CO2 level, in parts per million (ppm)" - units: "concentration" + units: "concentration" o2: name: "CO2" description: "O2 level, in parts per million (ppm)"