|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Valid values for temperature and pressure IIR filter coefficient. More...
Macros | |
| #define | BMP581_DT_IIR_FILTER_BYPASS 0x00 |
| Bypass. | |
| #define | BMP581_DT_IIR_FILTER_COEFF_1 0x01 |
| 1 | |
| #define | BMP581_DT_IIR_FILTER_COEFF_3 0x02 |
| 3 | |
| #define | BMP581_DT_IIR_FILTER_COEFF_7 0x03 |
| 7 | |
| #define | BMP581_DT_IIR_FILTER_COEFF_15 0x04 |
| 15 | |
| #define | BMP581_DT_IIR_FILTER_COEFF_31 0x05 |
| 31 | |
| #define | BMP581_DT_IIR_FILTER_COEFF_63 0x06 |
| 63 | |
| #define | BMP581_DT_IIR_FILTER_COEFF_127 0x07 |
| 127 | |
Valid values for temperature and pressure IIR filter coefficient.
where:
is the current filtered output
is the previous filtered output
is the current input sample
is one of the coefficient values belowHigher coefficient values provide more filtering (smoother output) but increase response time.
| #define BMP581_DT_IIR_FILTER_BYPASS 0x00 |
#include <zephyr/dt-bindings/sensor/bmp581.h>
Bypass.
| #define BMP581_DT_IIR_FILTER_COEFF_1 0x01 |
#include <zephyr/dt-bindings/sensor/bmp581.h>
1
| #define BMP581_DT_IIR_FILTER_COEFF_127 0x07 |
#include <zephyr/dt-bindings/sensor/bmp581.h>
127
| #define BMP581_DT_IIR_FILTER_COEFF_15 0x04 |
#include <zephyr/dt-bindings/sensor/bmp581.h>
15
| #define BMP581_DT_IIR_FILTER_COEFF_3 0x02 |
#include <zephyr/dt-bindings/sensor/bmp581.h>
3
| #define BMP581_DT_IIR_FILTER_COEFF_31 0x05 |
#include <zephyr/dt-bindings/sensor/bmp581.h>
31
| #define BMP581_DT_IIR_FILTER_COEFF_63 0x06 |
#include <zephyr/dt-bindings/sensor/bmp581.h>
63
| #define BMP581_DT_IIR_FILTER_COEFF_7 0x03 |
#include <zephyr/dt-bindings/sensor/bmp581.h>
7