Trait drone_core::reg::Reg
[−]
[src]
pub trait Reg<T: RegTag>: Sized { type Val: RegVal; const ADDRESS: usize; }
Memory-mapped register token. Types which implement this trait should be zero-sized. This is a zero-cost abstraction for safely working with memory-mapped registers.
Associated Types
Associated Constants
const ADDRESS: usize
Memory address of the register.