Skip to main content

Cr

Type Alias Cr 

Source
pub type Cr<const N: u32, Layout> = Register<Layout, <CrIo<N> as ControlRegister>::Access, CrIo<N>>;
Expand description

Example usage:

use regio::x86::Cr;

const CR0: Cr<0, u64> = Cr::new();

Aliased Type§

pub struct Cr<const N: u32, Layout> { /* private fields */ }

Implementations§

Source§

impl<const N: u32, Layout> Cr<N, Layout>
where CrIo<N>: ControlRegister, Layout: LayoutOver<u64>,

Source

pub const fn new() -> Self

Constructs an x86-64 control register instance.