Skip to content

Latest commit

 

History

History
107 lines (79 loc) · 3.5 KB

CHANGELOG.md

File metadata and controls

107 lines (79 loc) · 3.5 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[0.1.2] - 2022-01-28

Changed

  • MULTIBYTE read implemented directly in interface/i2c.rs instead of specific functions in sensor.rs

Removed

  • SPI interface temporarily disabled, trying to figure out how to get MS_BIT to work

[0.1.1] - 2021-12-12

Changed

  • enable_interrupts() becomes configure_interrupts(), and the flag becomes a field of the configuration stuct (enable_differential)
  • enums used for interrupt pin configuration (active high/low and push-pull/open drain)
  • enums used for interrupt and data ready signals configuration (enabled/disabled)
  • get_data_status() reads all the flags in one go ()
  • get_int_status() reads all the flags in one go ()
  • get_fifo_status() reads all the flags in one go ()
  • FIFO enabled/disabled with new FIFO_ON enum
  • enable_fifo() renamed to configure_fifo() for consistency with configure_interrupts() naming
  • read_pressure() and read_temperature() are independent, this way STATUS_REG is only affected for the parameter actually read (pressure or temperature, not both at once)

0.1.0 - 2021-12-08

Added

  • interrupt configuration struct
  • enable_interrupts function that enables and configures the interrupt pin
  • FIFO configuration struct
  • enable_fifo function that enables and configures the FIFO
  • interrupt status read to a struct (various flags are fields)
  • data status (STATUS_REG) read to a struct (various flags are fields)
  • FIFO status read to a struct (various flags and also FIFO data level are fields)
  • one_shot() function in the sensor module; it sets ODR to OneShot and then enables the one shot mode

Removed

  • enable_one_shot() function
  • Single functions for pressure and temperature availability and overrun flag reading

0.0.4 - 2021-12-04

Added

  • reading threshold for pressure interrupt generation
  • setting threshold for pressure interrupt generation
  • setting pressure offset value
  • added Raspberry Pi example

0.0.3 - 2021-08-16

Added

  • Reading FIFO stored data level
  • Reading pressure offset value

Changed

  • Bitmasks are inside a struct
  • All "config/control" functions become "_enable", with a boolean parameter.
  • Moved enums into lib.rs

Removed

  • Control enum

0.0.2 - 2021-08-15

Added

  • Read pressure and temperature
  • Power down control
  • Data rate setting
  • Temperature and pressure resolution setting
  • Reboot and software reset functions
  • Enable one-shot reading
  • Enable/disable interrupts generation
  • Interrupts configuration
  • Signals on DRDY pin setting
  • Autozero function config and reset
  • SPI configuration (SPI interface not implemented yet)
  • Data availability and events occurence status reading
  • FIFO enabling/disabling
  • FIFO configuration
  • FIFO status reading
  • FIFO interrupts settings

[0.0.1] - 2021-08-03

Added

  • Basic read and write functions
  • Registers and bitmasks definitions
  • Read device ID function
  • Checking if sensor is reachable (WHOAMI)
  • Enabling single-shot data acquisition
  • Reading pressure and temperature