[]Enum circuit_playground_express::tcc0::ctrla::PRESCSYNCR

pub enum PRESCSYNCR {
    GCLK,
    PRESC,
    RESYNC,
    _Reserved(u8),
}

Possible values of the field PRESCSYNC

Variants

GCLK

Reload or reset counter on next GCLK

PRESC

Reload or reset counter on next prescaler clock

RESYNC

Reload or reset counter on next GCLK and reset prescaler counter

_Reserved(u8)

Reserved

Methods

impl PRESCSYNCR

pub fn bits(&self) -> u8

Value of the field as raw bits

pub fn is_gclk(&self) -> bool

Checks if the value of the field is GCLK

pub fn is_presc(&self) -> bool

Checks if the value of the field is PRESC

pub fn is_resync(&self) -> bool

Checks if the value of the field is RESYNC

Trait Implementations

impl PartialEq<PRESCSYNCR> for PRESCSYNCR

impl Debug for PRESCSYNCR

impl Copy for PRESCSYNCR

impl Clone for PRESCSYNCR

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for PRESCSYNCR

impl Sync for PRESCSYNCR

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]