Struct alt_stm32f30x_hal::device::opamp::opamp1_csr::OPAMP1EN_R
source · [−]pub struct OPAMP1EN_R(_);
Expand description
Field OPAMP1EN
reader - OPAMP1 enable
Methods from Deref<Target = FieldReader<bool, bool>>
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
sourceimpl Deref for OPAMP1EN_R
impl Deref for OPAMP1EN_R
type Target = FieldReader<bool, bool>
type Target = FieldReader<bool, bool>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<OPAMP1EN_R as Deref>::Target
fn deref(&self) -> &<OPAMP1EN_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for OPAMP1EN_R
impl Send for OPAMP1EN_R
impl Sync for OPAMP1EN_R
impl Unpin for OPAMP1EN_R
impl UnwindSafe for OPAMP1EN_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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