2016-07-06 23:59:51 +00:00
|
|
|
//! Definitions of register addresses and bits within those registers
|
|
|
|
|
|
|
|
#![feature(asm)]
|
|
|
|
#![feature(no_core)]
|
2017-07-16 02:49:22 +00:00
|
|
|
#![feature(const_fn)]
|
2017-09-23 05:09:24 +00:00
|
|
|
#![feature(associated_consts)]
|
2017-11-17 04:18:35 +00:00
|
|
|
#![feature(associated_type_defaults)]
|
|
|
|
#![feature(const_fn)]
|
2017-09-23 05:09:24 +00:00
|
|
|
#![feature(lang_items)]
|
|
|
|
#![feature(unwind_attributes)]
|
2017-07-16 02:49:22 +00:00
|
|
|
|
2016-07-06 23:59:51 +00:00
|
|
|
#![no_core]
|
|
|
|
|
2017-08-29 13:48:44 +00:00
|
|
|
#![no_std]
|
|
|
|
|
2017-11-17 04:18:35 +00:00
|
|
|
pub use self::register::{Bitset, Mask, Register, RegisterValue};
|
2017-08-29 13:48:44 +00:00
|
|
|
pub use self::pin::Pin;
|
2016-07-06 23:59:51 +00:00
|
|
|
|
|
|
|
pub mod prelude;
|
2017-08-29 13:48:44 +00:00
|
|
|
pub mod serial;
|
|
|
|
pub mod cores;
|
2017-12-13 11:55:57 +00:00
|
|
|
pub mod modules;
|
2017-08-29 13:48:44 +00:00
|
|
|
|
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;
|
2017-09-23 05:09:24 +00:00
|
|
|
#[doc(hidden)]
|
|
|
|
pub mod std_stub;
|
2017-08-29 13:48:44 +00:00
|
|
|
|
|
|
|
pub enum DataDirection {
|
|
|
|
Input,
|
|
|
|
Output,
|
|
|
|
}
|
2016-07-06 23:59:51 +00:00
|
|
|
|