pub type Mmio<Layout, Base, Access> = Register<Layout, Access, MmioPtr<Base, Access>>;Expand description
A specialization of Register representing an MMIO address.
Aliased Type§
pub struct Mmio<Layout, Base, Access> { /* private fields */ }Implementations§
Source§impl<Layout, Base, Access> Mmio<Layout, Base, Access>where
Layout: LayoutOver<Base>,
Base: Copy,
Access: Accessible,
impl<Layout, Base, Access> Mmio<Layout, Base, Access>where
Layout: LayoutOver<Base>,
Base: Copy,
Access: Accessible,
Sourcepub const fn new<InputAccess>(ptr: MmioPtr<Base, InputAccess>) -> Selfwhere
InputAccess: AccessRestrictsTo<Access>,
pub const fn new<InputAccess>(ptr: MmioPtr<Base, InputAccess>) -> Selfwhere
InputAccess: AccessRestrictsTo<Access>,
Constructs a new memory-backed register from a pointer wrapper.