Enum stm32_metapac::spi::vals::Ds
#[repr(u8)]pub enum Ds {
Show 16 variants
_RESERVED_0 = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
BITS4 = 3,
BITS5 = 4,
BITS6 = 5,
BITS7 = 6,
BITS8 = 7,
BITS9 = 8,
BITS10 = 9,
BITS11 = 10,
BITS12 = 11,
BITS13 = 12,
BITS14 = 13,
BITS15 = 14,
BITS16 = 15,
}
Variants§
_RESERVED_0 = 0
_RESERVED_1 = 1
_RESERVED_2 = 2
BITS4 = 3
4-bit
BITS5 = 4
5-bit
BITS6 = 5
6-bit
BITS7 = 6
7-bit
BITS8 = 7
8-bit
BITS9 = 8
9-bit
BITS10 = 9
10-bit
BITS11 = 10
11-bit
BITS12 = 11
12-bit
BITS13 = 12
13-bit
BITS14 = 13
14-bit
BITS15 = 14
15-bit
BITS16 = 15
16-bit
Implementations§
Trait Implementations§
§impl Ord for Ds
impl Ord for Ds
§impl PartialOrd for Ds
impl PartialOrd for Ds
§fn partial_cmp(&self, other: &Ds) -> Option<Ordering>
fn partial_cmp(&self, other: &Ds) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Ds
impl Eq for Ds
impl StructuralEq for Ds
impl StructuralPartialEq for Ds
Auto Trait Implementations§
impl RefUnwindSafe for Ds
impl Send for Ds
impl Sync for Ds
impl Unpin for Ds
impl UnwindSafe for Ds
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