Struct avr_device::atmega2560::portj::ddrj::PJ2_R
source · [−]pub struct PJ2_R(_);
Expand description
Field PJ2
reader - Pin J2
Methods from Deref<Target = FieldReader<bool, bool>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PJ2_R
impl Send for PJ2_R
impl Sync for PJ2_R
impl Unpin for PJ2_R
impl UnwindSafe for PJ2_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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