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)]
|
2018-11-05 07:20:24 +00:00
|
|
|
#![feature(panic_handler)]
|
2017-09-23 05:09:24 +00:00
|
|
|
#![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-12-17 00:14:10 +00:00
|
|
|
pub use self::register::{Mask, Register, RegisterValue};
|
2017-12-13 13:28:11 +00:00
|
|
|
pub use self::pin::{DataDirection, Pin};
|
2016-07-06 23:59:51 +00:00
|
|
|
|
|
|
|
pub mod prelude;
|
2017-12-13 13:28:11 +00:00
|
|
|
pub mod legacy;
|
2018-11-05 09:40:04 +00:00
|
|
|
/// Low level register-based API for device-specific operations.
|
2017-08-29 13:48:44 +00:00
|
|
|
pub mod cores;
|
2018-11-05 09:40:04 +00:00
|
|
|
pub mod interrupt;
|
2017-12-13 11:55:57 +00:00
|
|
|
pub mod modules;
|
2017-08-29 13:48:44 +00:00
|
|
|
|
2018-11-05 09:40:04 +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;
|
2017-09-23 05:09:24 +00:00
|
|
|
#[doc(hidden)]
|
|
|
|
pub mod std_stub;
|
2017-08-29 13:48:44 +00:00
|
|
|
|