Enum efm32gg11b_pac::efm32gg11b840::lesense::ch5_eval::STRSAMPLE_A
source · #[repr(u8)]
pub enum STRSAMPLE_A {
DISABLE,
DATA,
DATASRC,
}
Expand description
Enable Storing of Sensor Sample in Result Buffer
Value on reset: 0
Variants§
DISABLE
0: Nothing will be stored in the result buffer.
DATA
1: The sensor sample data will be stored in the result buffer.
DATASRC
2: The data source (i.e., the channel) will be stored alongside the sensor sample data.
Trait Implementations§
source§impl Clone for STRSAMPLE_A
impl Clone for STRSAMPLE_A
source§fn clone(&self) -> STRSAMPLE_A
fn clone(&self) -> STRSAMPLE_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for STRSAMPLE_A
impl Debug for STRSAMPLE_A
source§impl From<STRSAMPLE_A> for u8
impl From<STRSAMPLE_A> for u8
source§fn from(variant: STRSAMPLE_A) -> Self
fn from(variant: STRSAMPLE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<STRSAMPLE_A> for STRSAMPLE_A
impl PartialEq<STRSAMPLE_A> for STRSAMPLE_A
source§fn eq(&self, other: &STRSAMPLE_A) -> bool
fn eq(&self, other: &STRSAMPLE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.