[][src]Enum trinket_m0::gclk::clkctrl::GENR

pub enum GENR {
    GCLK0,
    GCLK1,
    GCLK2,
    GCLK3,
    GCLK4,
    GCLK5,
    GCLK6,
    GCLK7,
    GCLK8,
    _Reserved(u8),
}

Possible values of the field GEN

Variants

GCLK0

Generic clock generator 0

GCLK1

Generic clock generator 1

GCLK2

Generic clock generator 2

GCLK3

Generic clock generator 3

GCLK4

Generic clock generator 4

GCLK5

Generic clock generator 5

GCLK6

Generic clock generator 6

GCLK7

Generic clock generator 7

GCLK8

Generic clock generator 8

_Reserved(u8)

Reserved

Methods

impl GENR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is GCLK0

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

Checks if the value of the field is GCLK1

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

Checks if the value of the field is GCLK2

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

Checks if the value of the field is GCLK3

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

Checks if the value of the field is GCLK4

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

Checks if the value of the field is GCLK5

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

Checks if the value of the field is GCLK6

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

Checks if the value of the field is GCLK7

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

Checks if the value of the field is GCLK8

Trait Implementations

impl PartialEq<GENR> for GENR[src]

impl Debug for GENR[src]

impl Copy for GENR[src]

impl Clone for GENR[src]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for GENR

impl Sync for GENR

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]