pub enum ClockPin {
Pin12(Pin<Gpio12, FunctionSio<SioInput>, DynPullType>),
Pin14(Pin<Gpio14, FunctionSio<SioInput>, DynPullType>),
Pin20(Pin<Gpio20, FunctionSio<SioInput>, DynPullType>),
Pin22(Pin<Gpio22, FunctionSio<SioInput>, DynPullType>),
}Expand description
Describes a pin we can use as an AOT clock input
Variants§
Pin12(Pin<Gpio12, FunctionSio<SioInput>, DynPullType>)
Using GPIO 12 as clock input
Pin14(Pin<Gpio14, FunctionSio<SioInput>, DynPullType>)
Using GPIO 14 as clock input
Pin20(Pin<Gpio20, FunctionSio<SioInput>, DynPullType>)
Using GPIO 20 as clock input
Pin22(Pin<Gpio22, FunctionSio<SioInput>, DynPullType>)
Using GPIO 22 as clock input
Auto Trait Implementations§
impl Freeze for ClockPin
impl RefUnwindSafe for ClockPin
impl Send for ClockPin
impl Sync for ClockPin
impl Unpin for ClockPin
impl UnwindSafe for ClockPin
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