Struct Gpio

Source
pub struct Gpio {
Show 30 fields pub PIN_A2: PA1<Analog>, pub PIN_A3: PA0<Analog>, pub PIN_A8: PB14<Analog>, pub PIN_A9: PB15<Analog>, pub PIN_B5: PC13<Analog>, pub PIN_B6: PC14<Analog>, pub PIN_B7: PB8<Analog>, pub PIN_B8: PB9<Analog>, pub PIN_B9: PG14<Analog>, pub PIN_B10: PG13<Analog>, pub PIN_C1: PA5<Analog>, pub PIN_C2: PA7<Analog>, pub PIN_C3: PA2<Analog>, pub PIN_C4: PA6<Analog>, pub PIN_C5: PA3<Analog>, pub PIN_C6: PC1<Analog>, pub PIN_C7: PC0<Analog>, pub PIN_C8: PB1<Analog>, pub PIN_C9: PC4<Analog>, pub PIN_C10: PA4<Analog>, pub PIN_D1: PB4<Alternate<0>>, pub PIN_D2: PC11<Analog>, pub PIN_D3: PC10<Analog>, pub PIN_D4: PC9<Analog>, pub PIN_D5: PC8<Analog>, pub PIN_D6: PC12<Analog>, pub PIN_D7: PD2<Analog>, pub PIN_D8: PC2<Analog>, pub PIN_D9: PC3<Analog>, pub PIN_D10: PD3<Analog>,
}

Fields§

§PIN_A2: PA1<Analog>§PIN_A3: PA0<Analog>§PIN_A8: PB14<Analog>§PIN_A9: PB15<Analog>§PIN_B5: PC13<Analog>§PIN_B6: PC14<Analog>§PIN_B7: PB8<Analog>§PIN_B8: PB9<Analog>§PIN_B9: PG14<Analog>§PIN_B10: PG13<Analog>§PIN_C1: PA5<Analog>§PIN_C2: PA7<Analog>§PIN_C3: PA2<Analog>§PIN_C4: PA6<Analog>§PIN_C5: PA3<Analog>§PIN_C6: PC1<Analog>§PIN_C7: PC0<Analog>§PIN_C8: PB1<Analog>§PIN_C9: PC4<Analog>§PIN_C10: PA4<Analog>§PIN_D1: PB4<Alternate<0>>§PIN_D2: PC11<Analog>§PIN_D3: PC10<Analog>§PIN_D4: PC9<Analog>§PIN_D5: PC8<Analog>§PIN_D6: PC12<Analog>§PIN_D7: PD2<Analog>§PIN_D8: PC2<Analog>§PIN_D9: PC3<Analog>§PIN_D10: PD3<Analog>

Auto Trait Implementations§

§

impl Freeze for Gpio

§

impl RefUnwindSafe for Gpio

§

impl Send for Gpio

§

impl Sync for Gpio

§

impl Unpin for Gpio

§

impl UnwindSafe for Gpio

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> 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.