Enum stm32f4xx_hal::adc::config::Clock
source · #[repr(u8)]pub enum Clock {
Pclk2_div_2 = 0,
Pclk2_div_4 = 1,
Pclk2_div_6 = 2,
Pclk2_div_8 = 3,
}
Expand description
Clock config for the ADC Check the datasheet for the maximum speed the ADC supports
Variants§
Pclk2_div_2 = 0
PCLK2 (APB2) divided by 2
Pclk2_div_4 = 1
PCLK2 (APB2) divided by 4
Pclk2_div_6 = 2
PCLK2 (APB2) divided by 6
Pclk2_div_8 = 3
PCLK2 (APB2) divided by 8
Trait Implementations§
source§impl PartialEq for Clock
impl PartialEq for Clock
impl Copy for Clock
impl Eq for Clock
impl StructuralEq for Clock
impl StructuralPartialEq for Clock
Auto Trait Implementations§
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