Gpiod

Struct Gpiod 

Source
pub struct Gpiod {
Show 16 fields pub pd0: PD0<PullNone, Input>, pub pd1: PD1<PullNone, Input>, pub pd2: PD2<PullNone, Input>, pub pd3: PD3<PullNone, Input>, pub pd4: PD4<PullNone, Input>, pub pd5: PD5<PullNone, Input>, pub pd6: PD6<PullNone, Input>, pub pd7: PD7<PullNone, Input>, pub pd8: PD8<PullNone, Input>, pub pd9: PD9<PullNone, Input>, pub pd10: PD10<PullNone, Input>, pub pd11: PD11<PullNone, Input>, pub pd12: PD12<PullNone, Input>, pub pd13: PD13<PullNone, Input>, pub pd14: PD14<PullNone, Input>, pub pd15: PD15<PullNone, Input>,
}
Expand description

GPIO ports

Fields§

§pd0: PD0<PullNone, Input>

Pin $PXi

§pd1: PD1<PullNone, Input>

Pin $PXi

§pd2: PD2<PullNone, Input>

Pin $PXi

§pd3: PD3<PullNone, Input>

Pin $PXi

§pd4: PD4<PullNone, Input>

Pin $PXi

§pd5: PD5<PullNone, Input>

Pin $PXi

§pd6: PD6<PullNone, Input>

Pin $PXi

§pd7: PD7<PullNone, Input>

Pin $PXi

§pd8: PD8<PullNone, Input>

Pin $PXi

§pd9: PD9<PullNone, Input>

Pin $PXi

§pd10: PD10<PullNone, Input>

Pin $PXi

§pd11: PD11<PullNone, Input>

Pin $PXi

§pd12: PD12<PullNone, Input>

Pin $PXi

§pd13: PD13<PullNone, Input>

Pin $PXi

§pd14: PD14<PullNone, Input>

Pin $PXi

§pd15: PD15<PullNone, Input>

Pin $PXi

Auto Trait Implementations§

§

impl Freeze for Gpiod

§

impl RefUnwindSafe for Gpiod

§

impl Send for Gpiod

§

impl Sync for Gpiod

§

impl Unpin for Gpiod

§

impl UnwindSafe for Gpiod

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.