Sense.BP
ILPS22QS barometric pressure & temperature sensor.
Platform-agnostic driver for the ST ILPS22QS dual full-scale absolute pressure sensor (260–1260 hPa or 260–4060 hPa) with embedded temperature sensor, 128-sample FIFO, low-pass filter, and Qvar electrostatic sensing.
Key specifications: - 24-bit pressure output, 0.5 hPa absolute accuracy (mode 1) - 16-bit temperature output, 100 LSB/°C - Output data rates from 1 Hz to 200 Hz - Configurable averaging (4 to 512 samples) - 128-slot pressure FIFO with watermark interrupt - One-shot mode for ultra-low-power operation - Pressure threshold interrupts with autozero/autorefp - One-point calibration via hardware offset registers
Datasheet: https://www.st.com/resource/en/datasheet/ilps22qs.pdf
@note All bus I/O is routed through tiles_pal_t function pointers. This driver contains no platform-specific code.
