pub enum Clock {
Pclk2_div_2,
Pclk2_div_4,
Pclk2_div_6,
Pclk2_div_8,
}
Expand description
Clock config for the ADC Check the datasheet for the maximum speed the ADC supports
Variants§
Pclk2_div_2
PCLK2 (APB2) divided by 2
Pclk2_div_4
PCLK2 (APB2) divided by 4
Pclk2_div_6
PCLK2 (APB2) divided by 6
Pclk2_div_8
PCLK2 (APB2) divided by 8
Trait Implementations§
impl Copy for Clock
Auto Trait Implementations§
impl Freeze for Clock
impl RefUnwindSafe for Clock
impl Send for Clock
impl Sync for Clock
impl Unpin for Clock
impl UnwindSafe for Clock
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