pub struct Parts {Show 27 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 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 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>>,
}
👎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.
§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.
§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.
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more