[][src]Struct ambiq_apollo2_pac::cachectrl::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub cachecfg: CACHECFG,
    pub flashcfg: FLASHCFG,
    pub ctrl: CTRL,
    pub ncr0start: NCR0START,
    pub ncr0end: NCR0END,
    pub ncr1start: NCR1START,
    pub ncr1end: NCR1END,
    pub cachemode: CACHEMODE,
    pub dmon0: DMON0,
    pub dmon1: DMON1,
    pub dmon2: DMON2,
    pub dmon3: DMON3,
    pub imon0: IMON0,
    pub imon1: IMON1,
    pub imon2: IMON2,
    pub imon3: IMON3,
    // some fields omitted
}

Register block

Fields

cachecfg: CACHECFG

0x00 - Flash Cache Control Register

flashcfg: FLASHCFG

0x04 - Flash Control Register

ctrl: CTRL

0x08 - Cache Control

ncr0start: NCR0START

0x10 - Flash Cache Noncachable Region 0 Start Address.

ncr0end: NCR0END

0x14 - Flash Cache Noncachable Region 0 End

ncr1start: NCR1START

0x18 - Flash Cache Noncachable Region 1 Start

ncr1end: NCR1END

0x1c - Flash Cache Noncachable Region 1 End

cachemode: CACHEMODE

0x30 - Flash Cache Mode Register. Used to trim performance/power.

dmon0: DMON0

0x40 - Data Cache Total Accesses

dmon1: DMON1

0x44 - Data Cache Tag Lookups

dmon2: DMON2

0x48 - Data Cache Hits

dmon3: DMON3

0x4c - Data Cache Line Hits

imon0: IMON0

0x50 - Instruction Cache Total Accesses

imon1: IMON1

0x54 - Instruction Cache Tag Lookups

imon2: IMON2

0x58 - Instruction Cache Hits

imon3: IMON3

0x5c - Instruction Cache Line Hits

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.