#[non_exhaustive]pub struct Ports<'a> {
pub gpio1: Port<'a, 32>,
pub gpio2: Port<'a, 32>,
pub gpio3: Port<'a, 28>,
pub gpio4: Port<'a, 32>,
pub gpio5: Port<'a, 3>,
}
Expand description
All GPIO ports
Use new
to create all GPIO ports, then use it to access GPIO
pins and individual ports. See the public members for the GPIO ports
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.gpio1: Port<'a, 32>
§gpio2: Port<'a, 32>
§gpio3: Port<'a, 28>
§gpio4: Port<'a, 32>
§gpio5: Port<'a, 3>
Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for Ports<'a>
impl<'a> !RefUnwindSafe for Ports<'a>
impl<'a> !Send for Ports<'a>
impl<'a> !Sync for Ports<'a>
impl<'a> Unpin for Ports<'a>
impl<'a> !UnwindSafe for Ports<'a>
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