Skip to content

Commit

Permalink
hal docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobrosenthal committed Dec 9, 2020
1 parent 05c0342 commit 3e8f060
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions hal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
//! `atsamd-hal` is Hardware Abstraction Layer (HAL) provideing a type-safe API
//! for working with with the SAM family of processors including:
//! * samd11
//! * samd21
//! * samd51
//! * same51
//! * same53
//! * same54
//!
//! It utilizes the raw registers provided by the Peripheral Access Crate (PAC)
//! and, where possible, traits specified by the `embedded-hal` project making
//! it possible to share code and patterns with various other hals in the
//! embedded rust ecosystem.
//!
//! When in doubt, reference the datasheets available at [Microchip].
//!
//! [Microchip]: https://www.microchip.com/design-centers/32-bit
#![no_std]

pub extern crate embedded_hal as hal;

#[doc(hidden)]
pub use paste;

pub mod typelevel;
Expand Down Expand Up @@ -74,6 +93,7 @@ macro_rules! dbgprint {

#[macro_use]
pub mod common;
#[doc(inline)]
pub use self::common::*;

#[cfg(feature = "samd11")]
Expand Down

0 comments on commit 3e8f060

Please sign in to comment.