Struct Gpio

Source
pub struct Gpio {
Show 31 fields pub PIN_0: PB12<Analog>, pub PIN_1: PC11<Analog>, pub PIN_2: PC10<Analog>, pub PIN_3: PC9<Analog>, pub PIN_4: PC8<Analog>, pub PIN_5: PD2<Analog>, pub PIN_6: PC12<Analog>, pub PIN_7: PG10<Analog>, pub PIN_8: PG11<Analog>, pub PIN_9: PB4<Alternate<0>>, pub PIN_10: PB5<Analog>, pub PIN_11: PB8<Analog>, pub PIN_12: PB9<Analog>, pub PIN_13: PB6<Analog>, pub PIN_14: PB7<Analog>, pub PIN_15: PC0<Analog>, pub PIN_16: PA3<Analog>, pub PIN_17: PB1<Analog>, pub PIN_18: PA7<Analog>, pub PIN_19: PA6<Analog>, pub PIN_20: PC1<Analog>, pub PIN_21: PC4<Analog>, pub PIN_22: PA5<Analog>, pub PIN_23: PA4<Analog>, pub PIN_24: PA1<Analog>, pub PIN_25: PA0<Analog>, pub PIN_26: PD11<Analog>, pub PIN_27: PG9<Analog>, pub PIN_28: PA2<Analog>, pub PIN_29: PB14<Analog>, pub PIN_30: PB15<Analog>,
}

Fields§

§PIN_0: PB12<Analog>§PIN_1: PC11<Analog>§PIN_2: PC10<Analog>§PIN_3: PC9<Analog>§PIN_4: PC8<Analog>§PIN_5: PD2<Analog>§PIN_6: PC12<Analog>§PIN_7: PG10<Analog>§PIN_8: PG11<Analog>§PIN_9: PB4<Alternate<0>>§PIN_10: PB5<Analog>§PIN_11: PB8<Analog>§PIN_12: PB9<Analog>§PIN_13: PB6<Analog>§PIN_14: PB7<Analog>§PIN_15: PC0<Analog>§PIN_16: PA3<Analog>§PIN_17: PB1<Analog>§PIN_18: PA7<Analog>§PIN_19: PA6<Analog>§PIN_20: PC1<Analog>§PIN_21: PC4<Analog>§PIN_22: PA5<Analog>§PIN_23: PA4<Analog>§PIN_24: PA1<Analog>§PIN_25: PA0<Analog>§PIN_26: PD11<Analog>§PIN_27: PG9<Analog>§PIN_28: PA2<Analog>§PIN_29: PB14<Analog>§PIN_30: PB15<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.