#[repr(C)]
pub struct RegisterBlock { pub type_: Reg<TYPE_SPEC>, pub cfg: Reg<CFG_SPEC>, pub ctrl: Reg<CTRL_SPEC>, pub sr: Reg<SR_SPEC>, pub maint0: Reg<MAINT0_SPEC>, pub maint1: Reg<MAINT1_SPEC>, pub mcfg: Reg<MCFG_SPEC>, pub men: Reg<MEN_SPEC>, pub mctrl: Reg<MCTRL_SPEC>, pub msr: Reg<MSR_SPEC>, /* private fields */ }
Expand description

Register block

Fields

type_: Reg<TYPE_SPEC>

0x00 - Cache Type Register

cfg: Reg<CFG_SPEC>

0x04 - Cache Configuration Register

ctrl: Reg<CTRL_SPEC>

0x08 - Cache Control Register

sr: Reg<SR_SPEC>

0x0c - Cache Status Register

maint0: Reg<MAINT0_SPEC>

0x20 - Cache Maintenance Register 0

maint1: Reg<MAINT1_SPEC>

0x24 - Cache Maintenance Register 1

mcfg: Reg<MCFG_SPEC>

0x28 - Cache Monitor Configuration Register

men: Reg<MEN_SPEC>

0x2c - Cache Monitor Enable Register

mctrl: Reg<MCTRL_SPEC>

0x30 - Cache Monitor Control Register

msr: Reg<MSR_SPEC>

0x34 - Cache Monitor Status Register

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.