[][src]Enum stm32l4xx_hal::stm32::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) -> bool
1.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 Send for PRR

impl Sync for PRR

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