1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//! Definitions of register addresses and bits within those registers

#![feature(llvm_asm)]
#![feature(const_fn)]
#![feature(associated_type_defaults)]
#![feature(lang_items)]
#![feature(unwind_attributes)]
#![feature(proc_macro_hygiene)]

#![no_std]

#[cfg(feature = "avr-std-stub")] extern crate avr_std_stub;

extern crate const_env__value as const_env;

pub use self::register::{Register, RegisterBits, RegisterValue};
pub use self::pin::{DataDirection, Pin};

pub mod prelude;
pub mod legacy;
/// Low level register-based API for device-specific operations.
pub mod cores;
pub mod interrupt;
pub mod modules;

/// Configuration for the currently-targeted microcontroller.
pub use avr_config as config;

/// Delay routines.
pub use avr_delay as delay;

mod register;
mod pin;