#[repr(u8)]pub enum Datasizeselect {
_32 = 0,
_24 = 1,
_20 = 2,
_18 = 3,
_16 = 4,
_16c = 5,
_8 = 6,
_8c = 7,
}
Expand description
Data Word Size
Value on reset: 0
Variants§
_32 = 0
0: 32 bits
_24 = 1
1: 24 bits
_20 = 2
2: 20 bits
_18 = 3
3: 18 bits
_16 = 4
4: 16 bits
_16c = 5
5: 16 bits compact stereo
_8 = 6
6: 8 bits
_8c = 7
7: 8 bits compact stereo
Trait Implementations§
Source§impl Clone for Datasizeselect
impl Clone for Datasizeselect
Source§fn clone(&self) -> Datasizeselect
fn clone(&self) -> Datasizeselect
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 Datasizeselect
impl Debug for Datasizeselect
Source§impl From<Datasizeselect> for u8
impl From<Datasizeselect> for u8
Source§fn from(variant: Datasizeselect) -> Self
fn from(variant: Datasizeselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Datasizeselect
impl PartialEq for Datasizeselect
impl Copy for Datasizeselect
impl Eq for Datasizeselect
impl IsEnum for Datasizeselect
impl StructuralPartialEq for Datasizeselect
Auto Trait Implementations§
impl Freeze for Datasizeselect
impl RefUnwindSafe for Datasizeselect
impl Send for Datasizeselect
impl Sync for Datasizeselect
impl Unpin for Datasizeselect
impl UnwindSafe for Datasizeselect
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