Enum stm32_metapac::rcc::vals::Lsetrim
#[repr(u8)]pub enum Lsetrim {
R5_4 = 0,
R = 1,
R3_4 = 2,
R2_3 = 3,
}
Variants§
R5_4 = 0
current source resistance 5/4 x R
R = 1
current source resistance R
R3_4 = 2
current source resistance 3/4 x R
R2_3 = 3
current source resistance 2/3 x R
Implementations§
Trait Implementations§
§impl Ord for Lsetrim
impl Ord for Lsetrim
§impl PartialOrd for Lsetrim
impl PartialOrd for Lsetrim
§fn partial_cmp(&self, other: &Lsetrim) -> Option<Ordering>
fn partial_cmp(&self, other: &Lsetrim) -> 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 Lsetrim
impl Eq for Lsetrim
impl StructuralEq for Lsetrim
impl StructuralPartialEq for Lsetrim
Auto Trait Implementations§
impl RefUnwindSafe for Lsetrim
impl Send for Lsetrim
impl Sync for Lsetrim
impl Unpin for Lsetrim
impl UnwindSafe for Lsetrim
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