#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

#114 in Embedded development

Download history 7012/week @ 2018-12-14 6892/week @ 2018-12-21 7702/week @ 2018-12-28 27/week @ 2019-01-04 6/week @ 2019-01-11 8/week @ 2019-01-18 6/week @ 2019-01-25 3/week @ 2019-02-01 7/week @ 2019-02-08 1/week @ 2019-02-22 46/week @ 2019-03-01 9/week @ 2019-03-08 3/week @ 2019-03-15 111/week @ 2019-03-22

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

~27MB
~1M SLoC