Enum stm32_metapac::wwdg::vals::Wdgtb
#[repr(u8)]pub enum Wdgtb {
DIV1 = 0,
DIV2 = 1,
DIV4 = 2,
DIV8 = 3,
DIV16 = 4,
DIV32 = 5,
DIV64 = 6,
DIV128 = 7,
}
Variants§
DIV1 = 0
Counter clock (PCLK1 div 4096) div 1
DIV2 = 1
Counter clock (PCLK1 div 4096) div 2
DIV4 = 2
Counter clock (PCLK1 div 4096) div 4
DIV8 = 3
Counter clock (PCLK1 div 4096) div 8
DIV16 = 4
Counter clock (PCLK1 div 4096) div 16
DIV32 = 5
Counter clock (PCLK1 div 4096) div 32
DIV64 = 6
Counter clock (PCLK1 div 4096) div 64
DIV128 = 7
Counter clock (PCLK1 div 4096) div 128
Implementations§
Trait Implementations§
§impl Ord for Wdgtb
impl Ord for Wdgtb
§impl PartialOrd for Wdgtb
impl PartialOrd for Wdgtb
§fn partial_cmp(&self, other: &Wdgtb) -> Option<Ordering>
fn partial_cmp(&self, other: &Wdgtb) -> 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 Wdgtb
impl Eq for Wdgtb
impl StructuralEq for Wdgtb
impl StructuralPartialEq for Wdgtb
Auto Trait Implementations§
impl RefUnwindSafe for Wdgtb
impl Send for Wdgtb
impl Sync for Wdgtb
impl Unpin for Wdgtb
impl UnwindSafe for Wdgtb
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