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