2 releases
0.1.0 | Jul 6, 2024 |
---|---|
0.1.0-alpha.1 | Jul 5, 2024 |
#817 in Embedded development
22 downloads per month
28KB
550 lines
STMicroelectronics L3GD20 SPI driver
A platform-agnostic driver to interface with the L3GD20 gyroscope.
Do note that the sensor is discontinued and that documentation is scarce. Owners of an STM32F3 Discovery board may still find this crate useful, among others.
Implemented so far
- Reading the gyroscope in SPI blocking mode
- Direct access to registers via
l3gd20-registers
structs andhardware-registers
traits
License
Licensed under either of
- European Union Public Licence, Version 1.2, (LICENSE-EUPL or https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be triple licensed as above, without any additional terms or conditions.
Code of Conduct
We abide by the Contributor Covenant and ask that you do as well.
Dependencies
~0.4–1MB
~20K SLoC