[][src]Enum sam3x8e::tc2::cmr2::TCCLKSR

pub enum TCCLKSR {
    TIMER_CLOCK1,
    TIMER_CLOCK2,
    TIMER_CLOCK3,
    TIMER_CLOCK4,
    TIMER_CLOCK5,
    XC0,
    XC1,
    XC2,
}

Possible values of the field TCCLKS

Variants

TIMER_CLOCK1

Clock selected: TCLK1

TIMER_CLOCK2

Clock selected: TCLK2

TIMER_CLOCK3

Clock selected: TCLK3

TIMER_CLOCK4

Clock selected: TCLK4

TIMER_CLOCK5

Clock selected: TCLK5

XC0

Clock selected: XC0

XC1

Clock selected: XC1

XC2

Clock selected: XC2

Methods

impl TCCLKSR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is TIMER_CLOCK1

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

Checks if the value of the field is TIMER_CLOCK2

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

Checks if the value of the field is TIMER_CLOCK3

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

Checks if the value of the field is TIMER_CLOCK4

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

Checks if the value of the field is TIMER_CLOCK5

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

Checks if the value of the field is XC0

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

Checks if the value of the field is XC1

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

Checks if the value of the field is XC2

Trait Implementations

impl Clone for TCCLKSR[src]

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

Performs copy-assignment from source. Read more

impl Debug for TCCLKSR[src]

impl PartialEq<TCCLKSR> for TCCLKSR[src]

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

This method tests for !=.

impl Copy for TCCLKSR[src]

Auto Trait Implementations

impl Send for TCCLKSR

impl Sync for TCCLKSR

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]