[]Enum stm32f072b_disco::rcc::cfgr2::PREDIVR

pub enum PREDIVR {
    DIV1,
    DIV2,
    DIV3,
    DIV4,
    DIV5,
    DIV6,
    DIV7,
    DIV8,
    DIV9,
    DIV10,
    DIV11,
    DIV12,
    DIV13,
    DIV14,
    DIV15,
    DIV16,
}

Possible values of the field PREDIV

Variants

DIV1

PREDIV input clock not divided

DIV2

PREDIV input clock divided by 2

DIV3

PREDIV input clock divided by 3

DIV4

PREDIV input clock divided by 4

DIV5

PREDIV input clock divided by 5

DIV6

PREDIV input clock divided by 6

DIV7

PREDIV input clock divided by 7

DIV8

PREDIV input clock divided by 8

DIV9

PREDIV input clock divided by 9

DIV10

PREDIV input clock divided by 10

DIV11

PREDIV input clock divided by 11

DIV12

PREDIV input clock divided by 12

DIV13

PREDIV input clock divided by 13

DIV14

PREDIV input clock divided by 14

DIV15

PREDIV input clock divided by 15

DIV16

PREDIV input clock divided by 16

Methods

impl PREDIVR

pub fn bits(&self) -> u8

Value of the field as raw bits

pub fn is_div1(&self) -> bool

Checks if the value of the field is DIV1

pub fn is_div2(&self) -> bool

Checks if the value of the field is DIV2

pub fn is_div3(&self) -> bool

Checks if the value of the field is DIV3

pub fn is_div4(&self) -> bool

Checks if the value of the field is DIV4

pub fn is_div5(&self) -> bool

Checks if the value of the field is DIV5

pub fn is_div6(&self) -> bool

Checks if the value of the field is DIV6

pub fn is_div7(&self) -> bool

Checks if the value of the field is DIV7

pub fn is_div8(&self) -> bool

Checks if the value of the field is DIV8

pub fn is_div9(&self) -> bool

Checks if the value of the field is DIV9

pub fn is_div10(&self) -> bool

Checks if the value of the field is DIV10

pub fn is_div11(&self) -> bool

Checks if the value of the field is DIV11

pub fn is_div12(&self) -> bool

Checks if the value of the field is DIV12

pub fn is_div13(&self) -> bool

Checks if the value of the field is DIV13

pub fn is_div14(&self) -> bool

Checks if the value of the field is DIV14

pub fn is_div15(&self) -> bool

Checks if the value of the field is DIV15

pub fn is_div16(&self) -> bool

Checks if the value of the field is DIV16

Trait Implementations

impl PartialEq<PREDIVR> for PREDIVR

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for PREDIVR

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

Performs copy-assignment from source. Read more

impl Copy for PREDIVR

impl Debug for PREDIVR

Auto Trait Implementations

impl Send for PREDIVR

impl Sync for PREDIVR

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]

impl<T> Same for T

type Output = T

Should always be Self