[][src]Struct stm32l4xx_hal::stm32::flash::acr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn latency(&self) -> LATENCYR[src]

Bits 0:2 - Latency

pub fn prften(&self) -> PRFTENR[src]

Bit 8 - Prefetch enable

pub fn icen(&self) -> ICENR[src]

Bit 9 - Instruction cache enable

pub fn dcen(&self) -> DCENR[src]

Bit 10 - Data cache enable

pub fn icrst(&self) -> ICRSTR[src]

Bit 11 - Instruction cache reset

pub fn dcrst(&self) -> DCRSTR[src]

Bit 12 - Data cache reset

pub fn run_pd(&self) -> RUN_PDR[src]

Bit 13 - Flash Power-down mode during Low-power run mode

pub fn sleep_pd(&self) -> SLEEP_PDR[src]

Bit 14 - Flash Power-down mode during Low-power sleep mode

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self