Crate stm32f103xx_hal [] [src]

HAL for the STM32F103xx family of microcontrollers

This is an implementation of the embedded-hal traits for the STM32F103xx family of microcontrollers.

Usage

$ git clone https://github.com/japaric/stm32f103xx-hal

# on another terminal
$ openocd -f interface/$INTERFACE.cfg -f target/stm32f1x.cfg

# flash and debug the "Hello, world" example
# NOTE examples assume 64KB of Flash and 20KB of RAM; you can tweak layout in memory.x
$ cd stm32f103xx-hal
$ xargo run --example hello

Follow the cortex-m-quickstart instructions and add this crate as a dependency in step number 5 and make sure you enable the "rt" Cargo feature of this crate.

Examples

See the examples module.

Re-exports

pub extern crate stm32f103xx;

Modules

afio
bb

Bit banding

delay

Delays

dma
examples

Examples

flash

Flash memory

gpio

General Purpose Input / Output

prelude
pwm
qei
rcc
serial
spi
time

Time units

timer