pub struct HstxClock { /* private fields */ }Expand description
HSTX (High-Speed Transmitter) Clock
Trait Implementations§
Source§impl Clock for HstxClock
impl Clock for HstxClock
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 HstxClock
Source§type Variant = ClkHstxSrcType
type Variant = ClkHstxSrcType
Enum with valid source clocks register values for
ClockSource§impl ClockSource for HstxClock
impl ClockSource for HstxClock
Source§impl StoppableClock for HstxClock
impl StoppableClock for HstxClock
Source§impl ValidSrc<GpioOutput0Clock> for HstxClock
impl ValidSrc<GpioOutput0Clock> for HstxClock
Source§impl ValidSrc<GpioOutput1Clock> for HstxClock
impl ValidSrc<GpioOutput1Clock> for HstxClock
Source§impl ValidSrc<GpioOutput2Clock> for HstxClock
impl ValidSrc<GpioOutput2Clock> for HstxClock
Source§impl ValidSrc<GpioOutput3Clock> for HstxClock
impl ValidSrc<GpioOutput3Clock> for HstxClock
Auto Trait Implementations§
impl Freeze for HstxClock
impl RefUnwindSafe for HstxClock
impl Send for HstxClock
impl Sync for HstxClock
impl Unpin for HstxClock
impl UnwindSafe for HstxClock
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