Enum samd21g18a::gclk::clkctrl::GENR [−][src]
pub enum GENR { GCLK0, GCLK1, GCLK2, GCLK3, GCLK4, GCLK5, GCLK6, GCLK7, _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
_Reserved(u8)
Reserved
Methods
impl GENR
[src]
impl GENR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_gclk0(&self) -> bool
[src]
pub fn is_gclk0(&self) -> bool
Checks if the value of the field is GCLK0
pub fn is_gclk1(&self) -> bool
[src]
pub fn is_gclk1(&self) -> bool
Checks if the value of the field is GCLK1
pub fn is_gclk2(&self) -> bool
[src]
pub fn is_gclk2(&self) -> bool
Checks if the value of the field is GCLK2
pub fn is_gclk3(&self) -> bool
[src]
pub fn is_gclk3(&self) -> bool
Checks if the value of the field is GCLK3
pub fn is_gclk4(&self) -> bool
[src]
pub fn is_gclk4(&self) -> bool
Checks if the value of the field is GCLK4
pub fn is_gclk5(&self) -> bool
[src]
pub fn is_gclk5(&self) -> bool
Checks if the value of the field is GCLK5
pub fn is_gclk6(&self) -> bool
[src]
pub fn is_gclk6(&self) -> bool
Checks if the value of the field is GCLK6
pub fn is_gclk7(&self) -> bool
[src]
pub fn is_gclk7(&self) -> bool
Checks if the value of the field is GCLK7
Trait Implementations
impl Clone for GENR
[src]
impl Clone for GENR
fn clone(&self) -> GENR
[src]
fn clone(&self) -> GENR
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for GENR
[src]
impl Copy for GENR
impl Debug for GENR
[src]
impl Debug for GENR
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for GENR
[src]
impl PartialEq for GENR