pub enum STARTR {
NOSTART,
START,
}
Expand description
Possible values of the field START
Variants
NOSTART
No Start generation
START
In master mode: repeated start generation, in slave mode: start generation when bus is free
Implementations
impl STARTR
impl STARTR
pub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
pub fn is_no_start(&self) -> bool
pub fn is_no_start(&self) -> bool
Checks if the value of the field is NOSTART
Trait Implementations
impl Copy for STARTR
impl StructuralPartialEq for STARTR
Auto Trait Implementations
impl RefUnwindSafe for STARTR
impl Send for STARTR
impl Sync for STARTR
impl Unpin for STARTR
impl UnwindSafe for STARTR
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