[][src]Enum xc2bit::XC2MCRegClkSrc

pub enum XC2MCRegClkSrc {
    GCK0,
    GCK1,
    GCK2,
    PTC,
    CTC,
}

Clock source for the register in a macrocell

Variants

GCK0
GCK1
GCK2
PTC
CTC

Methods

impl XC2MCRegClkSrc[src]

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

impl XC2MCRegClkSrc[src]

pub fn decode(x: (bool, bool, bool)) -> Self[src]

Trait Implementations

impl Clone for XC2MCRegClkSrc[src]

impl Copy for XC2MCRegClkSrc[src]

impl Debug for XC2MCRegClkSrc[src]

impl<'de> Deserialize<'de> for XC2MCRegClkSrc[src]

impl Eq for XC2MCRegClkSrc[src]

impl Hash for XC2MCRegClkSrc[src]

impl PartialEq<XC2MCRegClkSrc> for XC2MCRegClkSrc[src]

impl Serialize for XC2MCRegClkSrc[src]

impl StructuralEq for XC2MCRegClkSrc[src]

impl StructuralPartialEq for XC2MCRegClkSrc[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.