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
36
37
38
//! Supporting package for running [R3] on a Renesas RZ/A1x family MPU
//! (including [RZ/A1H], which is used by the [GR-PEACH] development board).
//!
//! [R3]: ::r3
//! [RZ/A1H]: https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz/rza/rza1h.html
//! [GR-PEACH]: https://www.renesas.com/us/en/products/gadget-renesas/boards/gr-peach.html
#![feature(const_fn)]
#![feature(const_mut_refs)]
#![feature(const_fn_fn_ptr_basics)]
#![feature(asm)]
#![feature(unsafe_block_in_unsafe_fn)] // `unsafe fn` doesn't imply `unsafe {}`
#![deny(unsafe_op_in_unsafe_fn)]
#![no_std]

/// Used by `use_os_timer!`
#[doc(hidden)]
pub extern crate r3;

/// Used by `use_os_timer!`
#[doc(hidden)]
pub extern crate r3_portkit;

/// Used by `use_os_timer!`
#[doc(hidden)]
pub extern crate r3_port_arm;

/// The RZ/A1 OS Timer driver.
#[doc(hidden)]
pub mod os_timer {
    pub mod cfg;
    pub mod imp;
}

pub use self::os_timer::cfg::*;

pub mod gpio;
pub mod serial;
pub mod stdout;