You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
![]()
5 years ago
|
stm32f0xx-hal
|
||
|
=============
|
||
|
|
||
|
_stm32f0xx-hal_ contains a hardware abstraction on top of the peripheral access
|
||
|
API for the STMicro STM32F0xx family of microcontrollers. It replaces the
|
||
|
[stm32f042-hal][] by a more ubiqitous version suitable for additional families.
|
||
|
|
||
|
Currently supported configuration are:
|
||
|
* stm32f042
|
||
|
|
||
|
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.
|
||
|
|
||
|
Collaboration on this crate is highly welcome as are pull requests!
|
||
|
|
||
|
This crate relies on Adam Greigs 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.
|
||
|
|
||
|
[stm32f0]: https://crates.io/crates/stm32f0
|
||
|
[stm32f042-hal]: https://github.com/therealprof/stm32f042-hal
|
||
|
[stm32f103xx-hal]: https://github.com/japaric/stm32f103xx-hal
|
||
|
[embedded-hal]: https://github.com/japaric/embedded-hal.git
|
||
|
|
||
|
License
|
||
|
-------
|
||
|
|
||
|
[0-clause BSD license](LICENSE-0BSD.txt).
|