[−][src]Crate nucleo_l011k4_bsp
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
].
Re-exports
pub extern crate stm32l0x1_hal as hal; |
Structs
Board | The L031K6-Nucleo |
Pins | A representation of connectors CN3 and CN4 |
Functions
init | Initialize the MCU and the board |
Type Definitions
Led | A configured user LED |