#arm #cortex-m #hal #stm32f042

nightly 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 55/week @ 2018-06-15 13/week @ 2018-06-22 179/week @ 2018-06-29 62/week @ 2018-07-06 17/week @ 2018-07-13 56/week @ 2018-07-20 15/week @ 2018-07-27 24/week @ 2018-08-03 126/week @ 2018-08-10 17/week @ 2018-08-17 14/week @ 2018-08-24 2/week @ 2018-08-31 18/week @ 2018-09-07

199 downloads per month
Used in 1 crate

0BSD license

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

~8MB
~274K SLoC