embassy-stm32

Crates

git

Versions

stm32f042k6

Flavors

embassy_stm32::tsc::io_pin

Enum IOPin

Source
pub enum IOPin {
Show 24 variants Group1Io1, Group1Io2, Group1Io3, Group1Io4, Group2Io1, Group2Io2, Group2Io3, Group2Io4, Group3Io1, Group3Io2, Group3Io3, Group3Io4, Group4Io1, Group4Io2, Group4Io3, Group4Io4, Group5Io1, Group5Io2, Group5Io3, Group5Io4, Group6Io1, Group6Io2, Group6Io3, Group6Io4,
}
Expand description

Pin defines

Variants§

§

Group1Io1

§

Group1Io2

§

Group1Io3

§

Group1Io4

§

Group2Io1

§

Group2Io2

§

Group2Io3

§

Group2Io4

§

Group3Io1

§

Group3Io2

§

Group3Io3

§

Group3Io4

§

Group4Io1

§

Group4Io2

§

Group4Io3

§

Group4Io4

§

Group5Io1

§

Group5Io2

§

Group5Io3

§

Group5Io4

§

Group6Io1

§

Group6Io2

§

Group6Io3

§

Group6Io4

Implementations§

Source§

impl IOPin

Source

pub const fn group(&self) -> Group

Maps this IOPin to the Group it belongs to.

This method provides a convenient way to determine which Group a specific TSC I/O pin is associated with.

Source

pub fn get_group(pin: IOPin) -> Group

Returns the Group associated with the given IOPin.

Trait Implementations§

Source§

impl BitAnd<IOPin> for u32

Source§

type Output = u32

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: IOPin) -> Self::Output

Performs the & operation. Read more
Source§

impl BitAnd<u32> for IOPin

Source§

type Output = u32

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u32) -> Self::Output

Performs the & operation. Read more
Source§

impl BitOr<IOPin> for u32

Source§

type Output = u32

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: IOPin) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOr<u32> for IOPin

Source§

type Output = u32

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u32) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOr for IOPin

Source§

type Output = u32

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOrAssign<IOPin> for u32

Source§

fn bitor_assign(&mut self, rhs: IOPin)

Performs the |= operation. Read more
Source§

impl Clone for IOPin

Source§

fn clone(&self) -> IOPin

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IOPin

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Format for IOPin

Source§

fn format(&self, f: Formatter<'_>)

Writes the defmt representation of self to fmt.
Source§

impl Into<u32> for IOPin

Source§

fn into(self) -> u32

Converts this type into the (usually inferred) input type.
Source§

impl PartialEq for IOPin

Source§

fn eq(&self, other: &IOPin) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for IOPin

Source§

impl StructuralPartialEq for IOPin

Auto Trait Implementations§

§

impl Freeze for IOPin

§

impl RefUnwindSafe for IOPin

§

impl Send for IOPin

§

impl Sync for IOPin

§

impl Unpin for IOPin

§

impl UnwindSafe for IOPin

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.