-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes/Add: Gyroscope SelfTest and FIFO reads
* Fix crtl type replaced by ctrl * Add missing documentation on different fn * Add Gyroscope SelfTest * Add private helper for U12.4 format and f32_abs * Fix FIFO sample count in `read_fifo`
- Loading branch information
1 parent
8424661
commit 0424495
Showing
5 changed files
with
360 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,26 +3,35 @@ name = "qmi8658" | |
categories = ["embedded", "no-std"] | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = [ | ||
"Walter Bonetti <[email protected]>" | ||
] | ||
authors = ["Walter Bonetti <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
description = "QMI8658 Sensor/Gyroscope" | ||
keywords = ["no-std", "qmi8658", "embedded", "embedded-hal-driver", "sensor"] | ||
include = ["src/**/*.rs", "crates-io.md", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] | ||
include = [ | ||
"src/**/*.rs", | ||
"crates-io.md", | ||
"README.md", | ||
"LICENSE-APACHE", | ||
"LICENSE-MIT", | ||
] | ||
repository = "https://github.com/IniterWorker/qmi8658" | ||
readme = "README.md" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[package.metadata.docs.rs] | ||
targets = [ "thumbv7m-none-eabi", "thumbv7em-none-eabihf" ] | ||
targets = ["thumbv7m-none-eabi", "thumbv7em-none-eabihf"] | ||
|
||
[dependencies] | ||
# Embedded HAL abstraction | ||
# We use this layer to abstract hardware i2c/spi | ||
embedded-hal = { version = "1.0.0" } | ||
bitfield = "0.15.0" | ||
log = { version = "0.4", default-features = false, optional = true } | ||
|
||
[features] | ||
default = [] | ||
loglib = ["log"] | ||
|
||
[dev-dependencies.cargo-husky] | ||
version = "1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.