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
//! The Memory-Mapped Registers prelude.
//!
//! The purpose of this module is to alleviate imports of many common `reg`
//! traits by adding a glob import to the top of `reg` heavy modules:
//!
//! ```
//! # #![allow(unused_imports)]
//! use drone_cortexm::reg::prelude::*;
//! ```

#[cfg(feature = "bit-band")]
#[doc(no_inline)]
pub use crate::reg::RegBitBand;

#[doc(no_inline)]
pub use drone_core::reg::prelude::*;

#[cfg(feature = "bit-band")]
#[doc(no_inline)]
pub use crate::reg::field::{RRRegFieldBitBand as _, WWRegFieldBitBand as _};
#[doc(no_inline)]
pub use crate::reg::{
    field::{WRwRegFieldAtomic as _, WRwRegFieldBitAtomic as _, WRwRegFieldBitsAtomic as _},
    RwRegAtomic as _,
};