#[repr(u8)]
pub enum FDCANSEL_A {
Hse,
Pllq,
Pclk,
}
Expand description
SAI2 clock source selection
Value on reset: 0
Variants
Hse
0: HSE clock selected as FDCAN clock
Pllq
1: PLL ‘Q’ clock selected as FDCAN clock
Pclk
2: PCLK clock selected as FDCAN clock
Trait Implementations
sourceimpl Clone for FDCANSEL_A
impl Clone for FDCANSEL_A
sourcefn clone(&self) -> FDCANSEL_A
fn clone(&self) -> FDCANSEL_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FDCANSEL_A
impl Debug for FDCANSEL_A
sourceimpl From<FDCANSEL_A> for u8
impl From<FDCANSEL_A> for u8
sourcefn from(variant: FDCANSEL_A) -> Self
fn from(variant: FDCANSEL_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<FDCANSEL_A> for FDCANSEL_A
impl PartialEq<FDCANSEL_A> for FDCANSEL_A
impl Copy for FDCANSEL_A
impl StructuralPartialEq for FDCANSEL_A
Auto Trait Implementations
impl RefUnwindSafe for FDCANSEL_A
impl Send for FDCANSEL_A
impl Sync for FDCANSEL_A
impl Unpin for FDCANSEL_A
impl UnwindSafe for FDCANSEL_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more