#arm #cortex-m #hal #stm32f042

no-std stm32f042-hal

Peripheral access API for STM32F042 microcontrollers

22 releases (5 breaking)

0.6.5 Nov 26, 2018
0.6.2 Oct 30, 2018
0.4.2 Jul 15, 2018
0.3.5 Mar 21, 2018

#25 in Hardware support

Download history 11/week @ 2018-10-10 160/week @ 2018-10-17 25/week @ 2018-10-24 23/week @ 2018-10-31 139/week @ 2018-11-07 33/week @ 2018-11-14 20/week @ 2018-11-21 70/week @ 2018-11-28 187/week @ 2018-12-05 25/week @ 2018-12-12 26/week @ 2018-12-19 163/week @ 2018-12-26 6/week @ 2019-01-02

295 downloads per month

0BSD license

50KB
1K SLoC

stm32f042-hal

stm32f042-hal contains a hardware abstraction on top of the peripheral access API for the STMicro stm32f042 series microcontroller.

This crate relies on my stm32f042 crate to provide appropriate register definitions and implements a partial set of the embedded-hal traits.

Since this chip is very easy to use and put into your own boards I've developped quite a few boards with those chipped and often throw one in just for good measure. Hence I don't have any ready-made eval board I can recommend although there is a nucleo-f042k6 board on the market.

Some of the implementation was shamelessly adapted from the stm32f103xx-hal crate by Jorge Aparicio.

License

0-clause BSD license.

Dependencies

~28MB
~1M SLoC