Enum xmc4200::vadc_g0::iclass::CMSR
[−]
[src]
pub enum CMSR { VALUE1, VALUE2, VALUE3, VALUE6, _Reserved(u8), }
Possible values of the field CMS
Variants
VALUE1
12-bit conversion
VALUE2
10-bit conversion
VALUE3
8-bit conversion
VALUE6
10-bit fast compare mode
_Reserved(u8)
Reserved
Methods
impl CMSR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_value1(&self) -> bool
[src]
Checks if the value of the field is VALUE1
pub fn is_value2(&self) -> bool
[src]
Checks if the value of the field is VALUE2
pub fn is_value3(&self) -> bool
[src]
Checks if the value of the field is VALUE3
pub fn is_value6(&self) -> bool
[src]
Checks if the value of the field is VALUE6
Trait Implementations
impl Clone for CMSR
[src]
fn clone(&self) -> CMSR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for CMSR
[src]
impl Debug for CMSR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more