Enum Ftm2clksel
#[repr(u8)]pub enum Ftm2clksel {
_00 = 0,
_01 = 1,
_10 = 2,
_11 = 3,
}Expand description
FTM2 External Clock Pin Select
Value on reset: 0
Variants§
_00 = 0
0: FTM2 external clock driven by TCLK0 pin.
_01 = 1
1: FTM2 external clock driven by TCLK1 pin.
_10 = 2
2: FTM2 external clock driven by TCLK2 pin.
_11 = 3
3: No clock input
Trait Implementations§
§impl Clone for Ftm2clksel
impl Clone for Ftm2clksel
§fn clone(&self) -> Ftm2clksel
fn clone(&self) -> Ftm2clksel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for Ftm2clksel
impl Debug for Ftm2clksel
§impl Format for Ftm2clksel
impl Format for Ftm2clksel
§impl From<Ftm2clksel> for u8
impl From<Ftm2clksel> for u8
§fn from(variant: Ftm2clksel) -> Self
fn from(variant: Ftm2clksel) -> Self
Converts to this type from the input type.
§impl PartialEq for Ftm2clksel
impl PartialEq for Ftm2clksel
impl Copy for Ftm2clksel
impl Eq for Ftm2clksel
impl IsEnum for Ftm2clksel
impl StructuralPartialEq for Ftm2clksel
Auto Trait Implementations§
impl Freeze for Ftm2clksel
impl RefUnwindSafe for Ftm2clksel
impl Send for Ftm2clksel
impl Sync for Ftm2clksel
impl Unpin for Ftm2clksel
impl UnwindSafe for Ftm2clksel
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