#arm #cortex-m #hal #stm32l1xx

no-std stm32l1xx-hal

Peripheral access API for STM32L1 series microcontrollers

3 unstable releases

0.1.0 Nov 13, 2019
0.0.1 Mar 7, 2019
0.0.0 Dec 9, 2018

#82 in #hal




stm32l1xx-hal contains a multi device hardware abstraction on top of the peripheral access API for the STMicro STM32L1 series microcontrollers. The selection of the MCU is done by feature gates, typically specified by board support crates. Currently supported configurations are:

  • stm32l100
  • stm32l151
  • stm32l152
  • stm32l162

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 stm32l1 crate to provide appropriate register definitions and implements a partial set of the embedded-hal traits.

Based on stm32f4xx-hal crate by Daniel Egger.


~442K SLoC