Expand description

STM L031K6-Nucleo board support

This crate provides convenience methods for working with the L031K6-Nucleo development board, and is intended to serve as a kind of example for how a board support crate might work. Under the hood, it ties pin function together with peripheral instantiation. Peripherals take as arguments, and subsequently own, the pins they’re attached to. This speeds development considerably, and reduces a lot of boilerplate setup code.

You can find a basic working example in [main.rs].

Structs

The L031K6-Nucleo
A representation of connectors CN3 and CN4

Functions

Initialize the MCU and the board

Type Definitions

A configured user LED