ruduino/src/lib.rs

29 lines
614 B
Rust
Raw Normal View History

2016-07-06 23:59:51 +00:00
//! Definitions of register addresses and bits within those registers
#![feature(llvm_asm)]
2017-07-16 02:49:22 +00:00
#![feature(const_fn)]
2017-11-17 04:18:35 +00:00
#![feature(associated_type_defaults)]
#![feature(lang_items)]
#![feature(unwind_attributes)]
2017-07-16 02:49:22 +00:00
2018-11-05 10:37:50 +00:00
#![no_std]
pub use self::register::{Register, RegisterBits, RegisterValue};
pub use self::pin::{DataDirection, Pin};
2016-07-06 23:59:51 +00:00
pub mod prelude;
pub mod legacy;
/// Low level register-based API for device-specific operations.
2017-08-29 13:48:44 +00:00
pub mod cores;
pub mod interrupt;
2017-12-13 11:55:57 +00:00
pub mod modules;
2017-08-29 13:48:44 +00:00
/// Configuration for the currently-targeted microcontroller.
2017-11-17 04:18:35 +00:00
pub mod config;
2017-08-30 14:24:24 +00:00
2017-09-23 04:50:01 +00:00
mod register;
2017-08-29 13:48:44 +00:00
mod pin;
#[doc(hidden)]
pub mod std_stub;
2017-08-29 13:48:44 +00:00