Crates.io | stm32c0xx-hal |
lib.rs | stm32c0xx-hal |
version | 0.0.0 |
source | src |
created_at | 2022-08-19 18:48:23.283714 |
updated_at | 2022-08-19 18:48:23.283714 |
description | Peripheral access API for STM32C0 series microcontrollers |
homepage | |
repository | https://github.com/stm32-rs/stm32c0xx-hal |
max_upload_size | |
id | 648821 |
size | 20,594 |
stm32c0xx-hal
🚧 Work in progress 🚧
stm32c0xx-hal contains a multi device hardware abstraction on top of the peripheral access API for the STMicro STM32C0 series microcontrollers. The selection of the MCU is done by feature gates, typically specified by board support crates.
This crate will eventually contain support for multiple microcontrollers in the
stm32c0 family. Which specific microcontroller you want to build for has to be
specified with a feature, for example stm32c011
.
If you are compiling the crate on its own for development or running examples, specify your microcontroller on the command line. For example:
cargo build --example blinky --features stm32c011
When using this crate as a dependency in your project, the microcontroller can
be specified as part of the Cargo.toml
definition.
[dependencies.stm32c0xx-hal]
version = "0.0.0"
features = ["rt", "stm32c011"]
The documentation can be found at docs.rs.
Licensed under either of
at your option.
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 dual licensed as above, without any additional terms or conditions.