Enum stm32_hal2::clocks::CanSrc
source · #[repr(u8)]pub enum CanSrc {
Hse = 0,
Pll1Q = 1,
Pll2Q = 2,
}
Expand description
CAN clock input source. Sets RCC_D2CCIP1R register, FDCANSEL field.
Variants§
Hse = 0
hse_ck clock is selected as FDCAN kernel clock (default after reset)
Pll1Q = 1
PLL1Q
Pll2Q = 2
PLL2Q
Trait Implementations§
source§impl PartialEq for CanSrc
impl PartialEq for CanSrc
impl Copy for CanSrc
impl StructuralPartialEq for CanSrc
Auto Trait Implementations§
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