[][src]Enum sam3x8e::pwm::cmr5::CPRER

pub enum CPRER {
    MCK,
    MCK_DIV_2,
    MCK_DIV_4,
    MCK_DIV_8,
    MCK_DIV_16,
    MCK_DIV_32,
    MCK_DIV_64,
    MCK_DIV_128,
    MCK_DIV_256,
    MCK_DIV_512,
    MCK_DIV_1024,
    CLKA,
    CLKB,
    _Reserved(u8),
}

Possible values of the field CPRE

Variants

MCK

Master clock

MCK_DIV_2

Master clock/2

MCK_DIV_4

Master clock/4

MCK_DIV_8

Master clock/8

MCK_DIV_16

Master clock/16

MCK_DIV_32

Master clock/32

MCK_DIV_64

Master clock/64

MCK_DIV_128

Master clock/128

MCK_DIV_256

Master clock/256

MCK_DIV_512

Master clock/512

MCK_DIV_1024

Master clock/1024

CLKA

Clock A

CLKB

Clock B

_Reserved(u8)

Reserved

Methods

impl CPRER[src]

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

Value of the field as raw bits

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

Checks if the value of the field is MCK

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

Checks if the value of the field is MCK_DIV_2

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

Checks if the value of the field is MCK_DIV_4

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

Checks if the value of the field is MCK_DIV_8

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

Checks if the value of the field is MCK_DIV_16

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

Checks if the value of the field is MCK_DIV_32

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

Checks if the value of the field is MCK_DIV_64

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

Checks if the value of the field is MCK_DIV_128

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

Checks if the value of the field is MCK_DIV_256

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

Checks if the value of the field is MCK_DIV_512

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

Checks if the value of the field is MCK_DIV_1024

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

Checks if the value of the field is CLKA

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

Checks if the value of the field is CLKB

Trait Implementations

impl Clone for CPRER[src]

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

Performs copy-assignment from source. Read more

impl Debug for CPRER[src]

impl PartialEq<CPRER> for CPRER[src]

impl Copy for CPRER[src]

Auto Trait Implementations

impl Send for CPRER

impl Sync for CPRER

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]