pub enum AdcSel {
Off,
Irc28m(Irc28mDiv),
Prescaled(AdcPsc),
}Expand description
Source of the ADC clock.
Variants§
Off
Left as the reset state: IRC28M selected but not running, so CK_ADC is
0 Hz and Clocks::ck_adc reads zero.
Irc28m(Irc28mDiv)
The dedicated internal 28 MHz oscillator, which UnfrozenRcu::freeze starts.
Prescaled(AdcPsc)
A prescaled tap off APB2 or AHB.
Trait Implementations§
impl Copy for AdcSel
impl Eq for AdcSel
impl StructuralPartialEq for AdcSel
Auto Trait Implementations§
impl Freeze for AdcSel
impl RefUnwindSafe for AdcSel
impl Send for AdcSel
impl Sync for AdcSel
impl Unpin for AdcSel
impl UnsafeUnpin for AdcSel
impl UnwindSafe for AdcSel
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