pub struct CVideoPeripherals<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo>where
P: PIOExt,
SM: StateMachineIndex,
DmaCh1: SingleChannel,
DmaCh2: SingleChannel,
PinSync: PinId,
PinVideo: PinId,{
pub pin_sync: Pin<PinSync, P::PinFunction, PullDown>,
pub pin_video: Pin<PinVideo, P::PinFunction, PullDown>,
pub sm: UninitStateMachine<(P, SM)>,
pub dma_ch1: DmaCh1,
pub dma_ch2: DmaCh2,
}Expand description
All the peripherals that is taken and potentially returned by a CVideo
Fields§
§pin_sync: Pin<PinSync, P::PinFunction, PullDown>§pin_video: Pin<PinVideo, P::PinFunction, PullDown>§sm: UninitStateMachine<(P, SM)>§dma_ch1: DmaCh1§dma_ch2: DmaCh2Auto Trait Implementations§
impl<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo> Freeze for CVideoPeripherals<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo>
impl<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo> !RefUnwindSafe for CVideoPeripherals<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo>
impl<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo> Send for CVideoPeripherals<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo>
impl<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo> !Sync for CVideoPeripherals<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo>
impl<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo> Unpin for CVideoPeripherals<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo>
impl<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo> !UnwindSafe for CVideoPeripherals<P, SM, DmaCh1, DmaCh2, PinSync, PinVideo>
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