pub struct PinId(/* private fields */);Expand description
Uniquely identifies a pin.
Upper bits are the port index, lower bits are the pin index.
The RA4M1 has 10 GPIO ports each with up to 16 pins.
Implementations§
Trait Implementations§
impl Copy for PinId
impl StructuralPartialEq for PinId
Auto Trait Implementations§
impl Forget for PinId
impl Freeze for PinId
impl Move for PinId
impl RefUnwindSafe for PinId
impl Send for PinId
impl Sync for PinId
impl Unpin for PinId
impl UnsafeUnpin for PinId
impl UnwindSafe for PinId
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