Skip to content

Commit

Permalink
Finish 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsided committed Jul 2, 2024
1 parent 68ffad7 commit 9cebc5d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
This project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.3] - 2024-07-02

[0.1.3]: https://github.com/sunsided/lsm303dlhc-registers/releases/tag/v0.1.3

### Internal

- Improved documentation on the `ControlRegister3A::i1drdy1` field (accelerometer data ready interrupt).

## [0.1.2] - 2024-07-02

[0.1.2]: https://github.com/sunsided/lsm303dlhc-registers/releases/tag/v0.1.2
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lsm303dlhc-registers"
version = "0.1.2"
version = "0.1.3"
authors = ["Markus Mayer <widemeadows@gmail.com>"]
categories = ["embedded", "hardware-support", "no-std", "science::robotics"]
description = "A typed map of the STMicroelectronics LSM303DLHC E-Compass registers"
Expand Down
7 changes: 5 additions & 2 deletions src/accel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,14 @@ pub struct ControlRegister3A {
#[bits(1, access = RW)]
pub i1aoi2: bool,

/// Enable DRDY1 interrupt on INT1
/// Enable the accelerometer data ready (`DRDY1`) interrupt on `INT1`.
///
/// Enabling this on a vanilla sensor will raise an interrupt on `INT1` whenever the
/// accelerometer reads new data.
#[bits(1, access = RW)]
pub i1drdy1: bool,

/// Enable DRDY2 interrupt on INT1
/// Enable the accelerometer data ready (`DRDY2`) interrupt on `INT1`.
#[bits(1, access = RW)]
pub i1drdy2: bool,

Expand Down

0 comments on commit 9cebc5d

Please sign in to comment.