pub enum Port {
Port0,
Port1,
Port2,
}
Expand description
A GPIO port with up to 32 pins.
Variants§
Port0
Port 0, available on nRF9160 and all nRF52 and nRF51 MCUs.
Port1
Port 1, only available on some MCUs.
Port2
Port 2, only available on some MCUs.
Trait Implementations§
impl Eq for Port
impl StructuralPartialEq for Port
Auto Trait Implementations§
impl Freeze for Port
impl RefUnwindSafe for Port
impl Send for Port
impl Sync for Port
impl Unpin for Port
impl UnwindSafe for Port
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