ruduino/src/lib.rs

30 lines
674 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)]
2020-07-02 13:55:15 +00:00
#![feature(proc_macro_hygiene)]
2017-07-16 02:49:22 +00:00
2018-11-05 10:37:50 +00:00
#![no_std]
#[cfg(feature = "avr-std-stub")] extern crate avr_std_stub;
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;