Enum stm32wlxx_hal::adc::Clk
source · pub enum Clk {
RccHsi,
RccPllP,
RccSysClk,
PClkDiv2,
PClkDiv4,
PClk,
}
Expand description
ADC clock mode
In all synchronous clock modes, there is no jitter in the delay from a timer trigger to the start of a conversion.
Variants§
RccHsi
Asynchronous clock mode HSI16
RccPllP
Asynchronous clock mode PLLP
RccSysClk
Asynchronous clock mode SYSCLK
PClkDiv2
Synchronous clock mode, pclk/2
PClkDiv4
Synchronous clock mode, pclk/4
PClk
Synchronous clock mode, pclk
This configuration must be enabled only if PCLK has a 50% duty clock cycle (APB prescaler configured inside the RCC must be bypassed and the system clock must by 50% duty cycle)
Trait Implementations§
impl Copy for Clk
impl Eq for Clk
impl StructuralEq for Clk
impl StructuralPartialEq for Clk
Auto Trait Implementations§
impl RefUnwindSafe for Clk
impl Send for Clk
impl Sync for Clk
impl Unpin for Clk
impl UnwindSafe for Clk
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