#[repr(u8)]pub enum SampleRate {
_1 = 0,
_2 = 1,
_4 = 2,
_8 = 3,
_16 = 4,
_32 = 5,
_64 = 6,
_128 = 7,
_256 = 8,
_512 = 9,
_1024 = 10,
}
Expand description
Samples per reading Number of Samples to be Collected
Value on reset: 0
Variants§
_1 = 0
0: 1 sample
_2 = 1
1: 2 samples
_4 = 2
2: 4 samples
_8 = 3
3: 8 samples
_16 = 4
4: 16 samples
_32 = 5
5: 32 samples
_64 = 6
6: 64 samples
_128 = 7
7: 128 samples
_256 = 8
8: 256 samples
_512 = 9
9: 512 samples
_1024 = 10
10: 1024 samples
Trait Implementations§
Source§impl Clone for Samplenumselect
impl Clone for Samplenumselect
Source§fn clone(&self) -> Samplenumselect
fn clone(&self) -> Samplenumselect
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 Samplenumselect
impl Debug for Samplenumselect
Source§impl PartialEq for Samplenumselect
impl PartialEq for Samplenumselect
impl Copy for Samplenumselect
impl Eq for Samplenumselect
impl IsEnum for Samplenumselect
impl StructuralPartialEq for Samplenumselect
Auto Trait Implementations§
impl Freeze for Samplenumselect
impl RefUnwindSafe for Samplenumselect
impl Send for Samplenumselect
impl Sync for Samplenumselect
impl Unpin for Samplenumselect
impl UnwindSafe for Samplenumselect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more