Skip to content

Commit

Permalink
Merge branch 'fix-svm41-interface-description' into 'master'
Browse files Browse the repository at this point in the history
Fix SVM41 interface description

See merge request MSO-SW/drivers/arduino/arduino-i2c-svm41!3
  • Loading branch information
MBjoern committed Nov 11, 2021
2 parents d6b7415 + 0828588 commit 1a8d81a
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions src/SensirionI2CSvm41.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* I2C-Generator: 0.3.0
* Yaml Version: 0.7.1
* Template Version: 0.7.0-84-g1150250
* Template Version: 0.7.0-92-gb5d271c
*/
/*
* Copyright (c) 2021, Sensirion AG
Expand Down Expand Up @@ -277,17 +277,19 @@ class SensirionI2CSvm41 {
* @param learningTimeGainHours Time constant to estimate the NOx algorithm
* gain from the history in hours. Past events will be forgotten after about
* twice the learning time. Allowed values are in range 1..1000. The default
* value is 12 hours.
* value is 12 hours. Note that this value is not relevant for NOx algorithm
* type.
*
* @param gatingMaxDurationMinutes Maximum duration of gating in minutes
* (freeze of estimator during high NOx index signal). Set to zero to
* disable the gating. Allowed values are in range 0..3000. The default
* value is 180 minutes.
* value is 720 minutes.
*
* @param stdInitial Initial estimate for standard deviation. Lower value
* boosts events during initial learning period, but may result in larger
* device-to-device variations. Allowed values are in range 10..5000. The
* default value is 50.
* default value is 50. Note that this value is not relevant for NOx
* algorithm type.
*
* @param gainFactor Gain factor to amplify or to attenuate the VOC index
* output. Allowed values are in range 1..1000. The default value is 230.
Expand All @@ -314,15 +316,17 @@ class SensirionI2CSvm41 {
*
* @param learningTimeGainHours Time constant to estimate the NOx Algorithm
* gain from the history in hours. Past events will be forgotten after about
* twice the learning time.
* twice the learning time. Note that this value is not relevant for NOx
* algorithm type.
*
* @param gatingMaxDurationMinutes Maximum duration of gating in minutes
* (freeze of estimator during high NOx index signal). Zero disables the
* gating.
*
* @param stdInitial Initial estimate for standard deviation. Lower value
* boosts events during initial learning period, but may result in larger
* device-to-device variations.
* device-to-device variations. Note that this value is not relevant for NOx
* algorithm type.
*
* @param gainFactor Factor to amplify or to attenuate the NOx Index output.
*
Expand All @@ -349,6 +353,10 @@ class SensirionI2CSvm41 {
*
* @param state Current VOC algorithm state.
*
* @note Retrieved values can only be used after at least 3 hours of
* continuous operation. Restoring the state by calling set voc state
* should not be done after interruptions of more than 10 minutes.
*
* @return 0 on success, an error code otherwise
*/
uint16_t setVocAlgorithmState(const uint8_t state[], uint8_t stateSize);
Expand Down

0 comments on commit 1a8d81a

Please sign in to comment.