Struct sodaq_sara_aff::gpio::Parts

source ·
pub struct Parts {
Show 53 fields pub port: Port, pub pa0: Pin<PA00, Input<Floating>>, pub pa1: Pin<PA01, Input<Floating>>, pub pa2: Pin<PA02, Input<Floating>>, pub pa3: Pin<PA03, Input<Floating>>, pub pa4: Pin<PA04, Input<Floating>>, pub pa5: Pin<PA05, Input<Floating>>, pub pa6: Pin<PA06, Input<Floating>>, pub pa7: Pin<PA07, Input<Floating>>, pub pa8: Pin<PA08, Input<Floating>>, pub pa9: Pin<PA09, Input<Floating>>, pub pa10: Pin<PA10, Input<Floating>>, pub pa11: Pin<PA11, Input<Floating>>, pub pa12: Pin<PA12, Input<Floating>>, pub pa13: Pin<PA13, Input<Floating>>, pub pa14: Pin<PA14, Input<Floating>>, pub pa15: Pin<PA15, Input<Floating>>, pub pa16: Pin<PA16, Input<Floating>>, pub pa17: Pin<PA17, Input<Floating>>, pub pa18: Pin<PA18, Input<Floating>>, pub pa19: Pin<PA19, Input<Floating>>, pub pa20: Pin<PA20, Input<Floating>>, pub pa21: Pin<PA21, Input<Floating>>, pub pa22: Pin<PA22, Input<Floating>>, pub pa23: Pin<PA23, Input<Floating>>, pub pa24: Pin<PA24, Input<Floating>>, pub pa25: Pin<PA25, Input<Floating>>, pub pa27: Pin<PA27, Input<Floating>>, pub pa28: Pin<PA28, Input<Floating>>, pub pa30: Pin<PA30, Input<Floating>>, pub pa31: Pin<PA31, Input<Floating>>, pub pb0: Pin<PB00, Input<Floating>>, pub pb1: Pin<PB01, Input<Floating>>, pub pb2: Pin<PB02, Input<Floating>>, pub pb3: Pin<PB03, Input<Floating>>, pub pb4: Pin<PB04, Input<Floating>>, pub pb5: Pin<PB05, Input<Floating>>, pub pb6: Pin<PB06, Input<Floating>>, pub pb7: Pin<PB07, Input<Floating>>, pub pb8: Pin<PB08, Input<Floating>>, pub pb9: Pin<PB09, Input<Floating>>, pub pb10: Pin<PB10, Input<Floating>>, pub pb11: Pin<PB11, Input<Floating>>, pub pb12: Pin<PB12, Input<Floating>>, pub pb13: Pin<PB13, Input<Floating>>, pub pb14: Pin<PB14, Input<Floating>>, pub pb15: Pin<PB15, Input<Floating>>, pub pb16: Pin<PB16, Input<Floating>>, pub pb17: Pin<PB17, Input<Floating>>, pub pb22: Pin<PB22, Input<Floating>>, pub pb23: Pin<PB23, Input<Floating>>, pub pb30: Pin<PB30, Input<Floating>>, pub pb31: Pin<PB31, Input<Floating>>,
}
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Expand description

Holds the GPIO Port peripheral and broken out pin instances

Fields§

§port: Port
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.

Opaque port reference

§pa0: Pin<PA00, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa1: Pin<PA01, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa2: Pin<PA02, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa3: Pin<PA03, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa4: Pin<PA04, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa5: Pin<PA05, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa6: Pin<PA06, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa7: Pin<PA07, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa8: Pin<PA08, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa9: Pin<PA09, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa10: Pin<PA10, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa11: Pin<PA11, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa12: Pin<PA12, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa13: Pin<PA13, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa14: Pin<PA14, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa15: Pin<PA15, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa16: Pin<PA16, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa17: Pin<PA17, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa18: Pin<PA18, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa19: Pin<PA19, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa20: Pin<PA20, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa21: Pin<PA21, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa22: Pin<PA22, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa23: Pin<PA23, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa24: Pin<PA24, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa25: Pin<PA25, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa27: Pin<PA27, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa28: Pin<PA28, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa30: Pin<PA30, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pa31: Pin<PA31, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb0: Pin<PB00, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb1: Pin<PB01, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb2: Pin<PB02, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb3: Pin<PB03, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb4: Pin<PB04, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb5: Pin<PB05, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb6: Pin<PB06, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb7: Pin<PB07, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb8: Pin<PB08, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb9: Pin<PB09, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb10: Pin<PB10, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb11: Pin<PB11, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb12: Pin<PB12, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb13: Pin<PB13, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb14: Pin<PB14, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb15: Pin<PB15, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb16: Pin<PB16, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb17: Pin<PB17, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb22: Pin<PB22, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb23: Pin<PB23, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb30: Pin<PB30, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
§pb31: Pin<PB31, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.

Auto Trait Implementations§

§

impl RefUnwindSafe for Parts

§

impl Send for Parts

§

impl Sync for Parts

§

impl Unpin for Parts

§

impl UnwindSafe for Parts

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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> Same<T> for T

§

type Output = T

Should always be Self
source§

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

§

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 Twhere U: TryFrom<T>,

§

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.