[][src]Enum stm32f3::stm32f3x8::iwdg::pr::PRR

pub enum PRR {
    DIVIDEBY4,
    DIVIDEBY8,
    DIVIDEBY16,
    DIVIDEBY32,
    DIVIDEBY64,
    DIVIDEBY128,
    DIVIDEBY256,
    DIVIDEBY256BIS,
}

Possible values of the field PR

Variants

DIVIDEBY4

Divider /4

DIVIDEBY8

Divider /8

DIVIDEBY16

Divider /16

DIVIDEBY32

Divider /32

DIVIDEBY64

Divider /64

DIVIDEBY128

Divider /128

DIVIDEBY256

Divider /256

DIVIDEBY256BIS

Divider /256

Methods

impl PRR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is DIVIDEBY4

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

Checks if the value of the field is DIVIDEBY8

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

Checks if the value of the field is DIVIDEBY16

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

Checks if the value of the field is DIVIDEBY32

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

Checks if the value of the field is DIVIDEBY64

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

Checks if the value of the field is DIVIDEBY128

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

Checks if the value of the field is DIVIDEBY256

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

Checks if the value of the field is DIVIDEBY256BIS

Trait Implementations

impl Debug for PRR[src]

impl PartialEq<PRR> for PRR[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Copy for PRR[src]

impl Clone for PRR[src]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Unpin for PRR

impl Sync for PRR

impl Send for PRR

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self