Enum atsamd21e18a::adc::avgctrl::SAMPLENUMR [−][src]
pub enum SAMPLENUMR { _1, _2, _4, _8, _16, _32, _64, _128, _256, _512, _1024, _Reserved(u8), }
Possible values of the field SAMPLENUM
Variants
_1
1 sample
_2
2 samples
_4
4 samples
_8
8 samples
_16
16 samples
_32
32 samples
_64
64 samples
_128
128 samples
_256
256 samples
_512
512 samples
_1024
1024 samples
_Reserved(u8)
Reserved
Methods
impl SAMPLENUMR
[src]
impl SAMPLENUMR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_1(&self) -> bool
[src]
pub fn is_1(&self) -> bool
Checks if the value of the field is _1
pub fn is_2(&self) -> bool
[src]
pub fn is_2(&self) -> bool
Checks if the value of the field is _2
pub fn is_4(&self) -> bool
[src]
pub fn is_4(&self) -> bool
Checks if the value of the field is _4
pub fn is_8(&self) -> bool
[src]
pub fn is_8(&self) -> bool
Checks if the value of the field is _8
pub fn is_16(&self) -> bool
[src]
pub fn is_16(&self) -> bool
Checks if the value of the field is _16
pub fn is_32(&self) -> bool
[src]
pub fn is_32(&self) -> bool
Checks if the value of the field is _32
pub fn is_64(&self) -> bool
[src]
pub fn is_64(&self) -> bool
Checks if the value of the field is _64
pub fn is_128(&self) -> bool
[src]
pub fn is_128(&self) -> bool
Checks if the value of the field is _128
pub fn is_256(&self) -> bool
[src]
pub fn is_256(&self) -> bool
Checks if the value of the field is _256
pub fn is_512(&self) -> bool
[src]
pub fn is_512(&self) -> bool
Checks if the value of the field is _512
pub fn is_1024(&self) -> bool
[src]
pub fn is_1024(&self) -> bool
Checks if the value of the field is _1024
Trait Implementations
impl Clone for SAMPLENUMR
[src]
impl Clone for SAMPLENUMR
fn clone(&self) -> SAMPLENUMR
[src]
fn clone(&self) -> SAMPLENUMR
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)
Performs copy-assignment from source
. Read more
impl Copy for SAMPLENUMR
[src]
impl Copy for SAMPLENUMR
impl Debug for SAMPLENUMR
[src]
impl Debug for SAMPLENUMR
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 SAMPLENUMR
[src]
impl PartialEq for SAMPLENUMR
fn eq(&self, other: &SAMPLENUMR) -> bool
[src]
fn eq(&self, other: &SAMPLENUMR) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SAMPLENUMR) -> bool
[src]
fn ne(&self, other: &SAMPLENUMR) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SAMPLENUMR
impl Send for SAMPLENUMR
impl Sync for SAMPLENUMR
impl Sync for SAMPLENUMR