pub enum PIN0R {
INPUT,
OUTPUT,
}
Expand description
Possible values of the field PIN0
Variants
INPUT
Read: pin set as input
OUTPUT
Read: pin set as output
Implementations
sourceimpl PIN0R
impl PIN0R
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 PIN0R
impl StructuralPartialEq for PIN0R
Auto Trait Implementations
impl RefUnwindSafe for PIN0R
impl Send for PIN0R
impl Sync for PIN0R
impl Unpin for PIN0R
impl UnwindSafe for PIN0R
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