Enum efr32x12p::lesense::ch13_eval::STRSAMPLER
[−]
[src]
pub enum STRSAMPLER { DISABLE, DATA, DATASRC, _Reserved(u8), }
Possible values of the field STRSAMPLE
Variants
DISABLE
Nothing will be stored in the result buffer.
DATA
The sensor sample data will be stored in the result buffer.
DATASRC
The data source (i.e., the channel) will be stored alongside the sensor sample data.
_Reserved(u8)
Reserved
Methods
impl STRSAMPLER
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_disable(&self) -> bool
[src]
Checks if the value of the field is DISABLE
fn is_data(&self) -> bool
[src]
Checks if the value of the field is DATA
fn is_datasrc(&self) -> bool
[src]
Checks if the value of the field is DATASRC
Trait Implementations
impl Clone for STRSAMPLER
[src]
fn clone(&self) -> STRSAMPLER
[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 STRSAMPLER
[src]
impl Debug for STRSAMPLER
[src]
impl PartialEq for STRSAMPLER
[src]
fn eq(&self, __arg_0: &STRSAMPLER) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &STRSAMPLER) -> bool
[src]
This method tests for !=
.