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
35
#![no_std]
#![crate_type = "lib"]
#![crate_name = "emlib"]
#![allow(warnings)]
#![feature(no_std)]
#![feature(core, collections, convert)]
#![feature(slice_patterns)]
#![feature(asm)]
#![feature(naked_functions)]
#![feature(linkage)]
#![feature(used)]

#[macro_use]

// emlib bindings
pub mod acmp;
pub mod adc;
pub mod chip;
pub mod cmu;
pub mod dma;
pub mod ebi;
pub mod emu;
pub mod gpio;
pub mod i2c;
pub mod irq;
pub mod lesense;
pub mod leuart;
pub mod prs;
pub mod rtc;
pub mod timer;
pub mod usart;

mod std {
    pub use core::*;
}