Signed-off-by: Daniel Egger <email@example.com>
|4 years ago|
|.cargo||4 years ago|
|examples||4 years ago|
|src||4 years ago|
|tools||4 years ago|
|.gitignore||4 years ago|
|.travis.yml||4 years ago|
|CHANGELOG.md||4 years ago|
|Cargo.toml||4 years ago|
|LICENSE-0BSD.txt||4 years ago|
|README.md||4 years ago|
|memory.x||4 years ago|
|openocd.cfg||4 years ago|
|openocd_program.sh||4 years ago|
stm32f0xx-hal contains a hardware abstraction on top of the peripheral access API for the STMicro STM32F0xx family of microcontrollers.
This crate replaces the stm32f042-hal by a more ubiqitous version suitable for additional families. The idea behind this crate is to gloss over the slight differences in the various peripherals available on those MCUs so a HAL can be written for all chips in that same family without having to cut and paste crates for every single model.
This crate relies on Adam Greig's fantastic stm32f0 crate to provide appropriate register definitions, and implements a partial set of the embedded-hal traits. Some of the implementation was shamelessly adapted from the stm32f103xx-hal crate by Jorge Aparicio.
Collaboration on this crate is highly welcome, as are pull requests!
- stm32f030 (stm32f030x4, stm32f030x6, stm32f030x8, stm32f030xc)
- stm32f070 (stm32f070x6, stm32f070xb)
If you are unfamiliar with embedded development using Rust, there are a number of fantastic resources available to help.
- Embedded Rust Documentation
- The Embedded Rust Book
- Rust Embedded FAQ
0-Clause BSD License, see LICENSE-0BSD.txt for more details.