Enum stm32_metapac::timer::vals::Etps
#[repr(u8)]pub enum Etps {
DIV1 = 0,
DIV2 = 1,
DIV4 = 2,
DIV8 = 3,
}
Variants§
DIV1 = 0
Prescaler OFF
DIV2 = 1
ETRP frequency divided by 2
DIV4 = 2
ETRP frequency divided by 4
DIV8 = 3
ETRP frequency divided by 8
Implementations§
Trait Implementations§
§impl Ord for Etps
impl Ord for Etps
§impl PartialOrd for Etps
impl PartialOrd for Etps
§fn partial_cmp(&self, other: &Etps) -> Option<Ordering>
fn partial_cmp(&self, other: &Etps) -> 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 Etps
impl Eq for Etps
impl StructuralEq for Etps
impl StructuralPartialEq for Etps
Auto Trait Implementations§
impl RefUnwindSafe for Etps
impl Send for Etps
impl Sync for Etps
impl Unpin for Etps
impl UnwindSafe for Etps
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