#arm #cortex-m #hal #stm32f042

no-std stm32f042-hal

Peripheral access API for STM32F042 microcontrollers

14 releases (4 breaking)

0.5.0 Sep 7, 2018
0.4.2 Jul 15, 2018
0.4.1 Jun 26, 2018
0.3.5 Mar 21, 2018

#17 in Hardware support

Download history 17/week @ 2018-08-20 13/week @ 2018-08-27 11/week @ 2018-09-03 16/week @ 2018-09-10 5/week @ 2018-09-17 20/week @ 2018-09-24 49/week @ 2018-10-01 17/week @ 2018-10-08 16/week @ 2018-10-15 173/week @ 2018-10-22 11/week @ 2018-10-29 93/week @ 2018-11-05 70/week @ 2018-11-12

199 downloads per month
Used in 1 crate

0BSD license

49KB
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

~26MB
~1M SLoC