Enum stm32f429i_disc::adc1::sr::EOCR
pub enum EOCR {
NOTCOMPLETE,
COMPLETE,
}
Expand description
Possible values of the field EOC
Variants
NOTCOMPLETE
Conversion is not complete
COMPLETE
Conversion complete
Implementations
impl EOCR
impl EOCR
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_not_complete(&self) -> bool
pub fn is_not_complete(&self) -> bool
Checks if the value of the field is NOTCOMPLETE
pub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Checks if the value of the field is COMPLETE
Trait Implementations
impl Copy for EOCR
impl StructuralPartialEq for EOCR
Auto Trait Implementations
impl RefUnwindSafe for EOCR
impl Send for EOCR
impl Sync for EOCR
impl Unpin for EOCR
impl UnwindSafe for EOCR
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