Enum rp2040_hal::pwm::B
source · pub enum B {}
Expand description
Channel B
These are attached to the odd gpio pins and can do PWM output and edge counting for input
Trait Implementations§
source§impl ChannelId for B
impl ChannelId for B
source§const DYN: DynChannelId = DynChannelId::B
const DYN: DynChannelId = DynChannelId::B
Corresponding
DynChannelId
impl ValidPwmOutputPin<Pwm0, B> for Gpio1
impl ValidPwmOutputPin<Pwm0, B> for Gpio17
impl ValidPwmOutputPin<Pwm1, B> for Gpio19
impl ValidPwmOutputPin<Pwm1, B> for Gpio3
impl ValidPwmOutputPin<Pwm2, B> for Gpio21
impl ValidPwmOutputPin<Pwm2, B> for Gpio5
impl ValidPwmOutputPin<Pwm3, B> for Gpio23
impl ValidPwmOutputPin<Pwm3, B> for Gpio7
impl ValidPwmOutputPin<Pwm4, B> for Gpio25
impl ValidPwmOutputPin<Pwm4, B> for Gpio9
impl ValidPwmOutputPin<Pwm5, B> for Gpio11
impl ValidPwmOutputPin<Pwm5, B> for Gpio27
impl ValidPwmOutputPin<Pwm6, B> for Gpio13
impl ValidPwmOutputPin<Pwm6, B> for Gpio29
impl ValidPwmOutputPin<Pwm7, B> for Gpio15
Auto Trait Implementations§
impl Freeze for B
impl RefUnwindSafe for B
impl Send for B
impl Sync for B
impl Unpin for B
impl UnwindSafe for B
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