Trait drone_core::reg::alias::RegionAlias
[−]
[src]
pub trait RegionAlias<R> { const BASE: usize; unsafe fn new(address: usize) -> Self; fn alias_base(address: usize) -> usize { ... } }
Register bit-band alias for a specific memory region.
Associated Constants
const BASE: usize
Start of a bit-banding alias memory region.
Required Methods
unsafe fn new(address: usize) -> Self
Constructs a new bit-band alias handler.
Safety
Must be called only from a register pointer instance.
Provided Methods
fn alias_base(address: usize) -> usize
Returns a bit-band alias base for the address.