Struct rp2040_hal::gpio::bank0::Gpio12
source · pub struct Gpio12(/* private fields */);
Expand description
Type level variant for the pin 12
in bank Gpio
.
Trait Implementations§
source§impl DefaultTypeState for Gpio12
impl DefaultTypeState for Gpio12
impl ValidFunction<FunctionI2c> for Gpio12
impl ValidFunction<FunctionNull> for Gpio12
impl ValidFunction<FunctionPio0> for Gpio12
impl ValidFunction<FunctionPio1> for Gpio12
impl ValidFunction<FunctionPwm> for Gpio12
impl<C: SioConfig> ValidFunction<FunctionSio<C>> for Gpio12
impl ValidFunction<FunctionSpi> for Gpio12
impl ValidFunction<FunctionUart> for Gpio12
impl ValidFunction<FunctionUsb> for Gpio12
impl ValidPinIdRx<SPI1> for Gpio12
impl ValidPinIdSda<I2C0> for Gpio12
impl ValidPinIdTx<UART0> for Gpio12
impl ValidPwmOutputPin<Pwm6, A> for Gpio12
Auto Trait Implementations§
impl Freeze for Gpio12
impl RefUnwindSafe for Gpio12
impl Send for Gpio12
impl Sync for Gpio12
impl Unpin for Gpio12
impl UnwindSafe for Gpio12
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