pub struct R(_);
Expand description
Register MPIN0
reader
Implementations
sourceimpl R
impl R
sourcepub fn mportp(&self) -> MPORTP_R
pub fn mportp(&self) -> MPORTP_R
Bits 0:31 - Masked port register (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
Methods from Deref<Target = R<MPIN0_SPEC>>
Trait Implementations
sourceimpl From<R<MPIN0_SPEC>> for R
impl From<R<MPIN0_SPEC>> for R
sourcefn from(reader: R<MPIN0_SPEC>) -> Self
fn from(reader: R<MPIN0_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more