Skip to main content

Mmio

Type Alias Mmio 

Source
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,

Source

pub const fn new<InputAccess>(ptr: MmioPtr<Base, InputAccess>) -> Self
where InputAccess: AccessRestrictsTo<Access>,

Constructs a new memory-backed register from a pointer wrapper.