Enum efm32gg990::pcnt0::route::LOCATIONR [−][src]
pub enum LOCATIONR { LOC0, LOC1, LOC2, LOC3, _Reserved(u8), }
Possible values of the field LOCATION
Variants
LOC0
Location 0
LOC1
Location 1
LOC2
Location 2
LOC3
Location 3
_Reserved(u8)
Reserved
Methods
impl LOCATIONR
[src]
impl LOCATIONR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_loc0(&self) -> bool
[src]
pub fn is_loc0(&self) -> bool
Checks if the value of the field is LOC0
pub fn is_loc1(&self) -> bool
[src]
pub fn is_loc1(&self) -> bool
Checks if the value of the field is LOC1
pub fn is_loc2(&self) -> bool
[src]
pub fn is_loc2(&self) -> bool
Checks if the value of the field is LOC2
pub fn is_loc3(&self) -> bool
[src]
pub fn is_loc3(&self) -> bool
Checks if the value of the field is LOC3
Trait Implementations
impl Clone for LOCATIONR
[src]
impl Clone for LOCATIONR
fn clone(&self) -> LOCATIONR
[src]
fn clone(&self) -> LOCATIONR
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 LOCATIONR
[src]
impl Copy for LOCATIONR
impl Debug for LOCATIONR
[src]
impl Debug for LOCATIONR
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 LOCATIONR
[src]
impl PartialEq for LOCATIONR