Enum stm32_metapac::can::vals::Pdiv
#[repr(u8)]pub enum Pdiv {
Show 16 variants
DIV_1 = 0,
DIV_2 = 1,
DIV_4 = 2,
DIV_6 = 3,
DIV_8 = 4,
DIV_10 = 5,
DIV_12 = 6,
DIV_14 = 7,
DIV_16 = 8,
DIV_18 = 9,
DIV_20 = 10,
DIV_22 = 11,
DIV_24 = 12,
DIV_26 = 13,
DIV_28 = 14,
DIV_30 = 15,
}
Variants§
DIV_1 = 0
Divide by 1
DIV_2 = 1
Divide by 2
DIV_4 = 2
Divide by 4
DIV_6 = 3
Divide by 6
DIV_8 = 4
Divide by 8
DIV_10 = 5
Divide by 10
DIV_12 = 6
Divide by 12
DIV_14 = 7
Divide by 14
DIV_16 = 8
Divide by 16
DIV_18 = 9
Divide by 18
DIV_20 = 10
Divide by 20
DIV_22 = 11
Divide by 22
DIV_24 = 12
Divide by 24
DIV_26 = 13
Divide by 26
DIV_28 = 14
Divide by 28
DIV_30 = 15
Divide by 30
Implementations§
Trait Implementations§
§impl Ord for Pdiv
impl Ord for Pdiv
§impl PartialOrd for Pdiv
impl PartialOrd for Pdiv
§fn partial_cmp(&self, other: &Pdiv) -> Option<Ordering>
fn partial_cmp(&self, other: &Pdiv) -> 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 Pdiv
impl Eq for Pdiv
impl StructuralEq for Pdiv
impl StructuralPartialEq for Pdiv
Auto Trait Implementations§
impl RefUnwindSafe for Pdiv
impl Send for Pdiv
impl Sync for Pdiv
impl Unpin for Pdiv
impl UnwindSafe for Pdiv
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