Enum stm32f429i_disc::dma2::s2fcr::DMDISR
pub enum DMDISR {
ENABLED,
DISABLED,
}
Expand description
Possible values of the field DMDIS
Variants
ENABLED
Direct mode is enabled
DISABLED
Direct mode is disabled
Implementations
impl DMDISR
impl DMDISR
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_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Checks if the value of the field is ENABLED
pub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
Trait Implementations
impl Copy for DMDISR
impl StructuralPartialEq for DMDISR
Auto Trait Implementations
impl RefUnwindSafe for DMDISR
impl Send for DMDISR
impl Sync for DMDISR
impl Unpin for DMDISR
impl UnwindSafe for DMDISR
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