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