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