pub enum PIN21R {
LOW,
HIGH,
}
Expand description
Possible values of the field PIN21
Variants
LOW
Pin input is low
HIGH
Pin input is high
Implementations
sourceimpl PIN21R
impl PIN21R
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
impl Copy for PIN21R
impl StructuralPartialEq for PIN21R
Auto Trait Implementations
impl RefUnwindSafe for PIN21R
impl Send for PIN21R
impl Sync for PIN21R
impl Unpin for PIN21R
impl UnwindSafe for PIN21R
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