#[repr(u8)]pub enum CanSrc {
Hse = 0,
PllQ = 1,
Pclk = 2,
}
Expand description
CAN clock input source. Sets RCC_CCIPR register, FDCANSEL field.
Variants§
Hse = 0
hse_ck clock is selected as FDCAN kernel clock
PllQ = 1
PLL1Q
Pclk = 2
PCLK1 (APB1) selected as FDCAN clock
Trait Implementations§
impl Copy for CanSrc
impl StructuralPartialEq for CanSrc
Auto Trait Implementations§
impl Freeze for CanSrc
impl RefUnwindSafe for CanSrc
impl Send for CanSrc
impl Sync for CanSrc
impl Unpin for CanSrc
impl UnwindSafe for CanSrc
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