stm32f30x_hal/
lib.rs

1//! HAL for the STM32F30x family of microcontrollers
2//!
3//! This is an implementation of the [`embedded-hal`] traits for the STM32F30x family of
4//! microcontrollers.
5//!
6//! [`embedded-hal`]: https://github.com/japaric/embedded-hal
7//!
8//! # Requirements
9//!
10//! This crate requires `arm-none-eabi-gcc` to be installed and available in `$PATH` to build.
11//!
12//! # Usage
13//!
14//! To build applications (binary crates) using this crate follow the [cortex-m-quickstart]
15//! instructions and add this crate as a dependency in step number 5 and make sure you enable the
16//! "rt" Cargo feature of this crate.
17//!
18//! [cortex-m-quickstart]: https://docs.rs/cortex-m-quickstart/~0.3
19//!
20//! # Examples
21//!
22//! Examples of *using* these abstractions can be found in the documentation of the [`f3`] crate.
23//!
24//! [`f3`]: https://docs.rs/f3/~0.6
25
26#![deny(missing_docs)]
27#![deny(warnings)]
28#![no_std]
29
30extern crate cast;
31extern crate cortex_m;
32extern crate embedded_hal as hal;
33extern crate nb;
34pub extern crate stm32f30x;
35extern crate void;
36
37pub mod delay;
38pub mod flash;
39pub mod gpio;
40pub mod i2c;
41pub mod prelude;
42pub mod rcc;
43pub mod serial;
44pub mod spi;
45pub mod time;
46pub mod timer;