pub struct AdcClock { /* private fields */ }Expand description
ADC reference clock.
Must be 48MHz.
Trait Implementations§
Source§impl Clock for AdcClock
impl Clock for AdcClock
Source§fn configure_clock<S>(
&mut self,
src: &S,
freq: Rate<u32, 1, 1>,
) -> Result<(), ClockError>
fn configure_clock<S>( &mut self, src: &S, freq: Rate<u32, 1, 1>, ) -> Result<(), ClockError>
Configure AdcClock
Source§type Variant = ClkAdcSrcType
type Variant = ClkAdcSrcType
Enum with valid source clocks register values for
ClockSource§impl ClockSource for AdcClock
impl ClockSource for AdcClock
Source§impl StoppableClock for AdcClock
impl StoppableClock for AdcClock
Source§impl ValidSrc<GpioOutput0Clock> for AdcClock
impl ValidSrc<GpioOutput0Clock> for AdcClock
Source§impl ValidSrc<GpioOutput1Clock> for AdcClock
impl ValidSrc<GpioOutput1Clock> for AdcClock
Source§impl ValidSrc<GpioOutput2Clock> for AdcClock
impl ValidSrc<GpioOutput2Clock> for AdcClock
Auto Trait Implementations§
impl Freeze for AdcClock
impl RefUnwindSafe for AdcClock
impl Send for AdcClock
impl Sync for AdcClock
impl Unpin for AdcClock
impl UnwindSafe for AdcClock
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
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more