[][src]Enum stm32f103xx::flash::acr::LATENCYR

pub enum LATENCYR {
    ZERO,
    ONE,
    TWO,
    _Reserved(u8),
}

Possible values of the field LATENCY

Variants

ZERO

Zero wait state, if 0hz SYSCLK to 24 MHz

ONE

One wait state, if 24 MHz SYSCLK to 48 MHz

TWO

Two wait states, if 48 MHz SYSCLK to 72 MHz

_Reserved(u8)

Reserved

Methods

impl LATENCYR[src]

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

Value of the field as raw bits

pub fn is_zero(&self) -> bool[src]

Checks if the value of the field is ZERO

pub fn is_one(&self) -> bool[src]

Checks if the value of the field is ONE

pub fn is_two(&self) -> bool[src]

Checks if the value of the field is TWO

Trait Implementations

impl Copy for LATENCYR[src]

impl Clone for LATENCYR[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for LATENCYR[src]

impl PartialEq<LATENCYR> for LATENCYR[src]

Auto Trait Implementations

impl Send for LATENCYR

impl Sync for LATENCYR

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

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

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]