Struct stm32l4xx_hal::stm32::rcc::apb1smenr1::I2C2SMEN_R
source · [−]pub struct I2C2SMEN_R(_);
Expand description
Field I2C2SMEN
reader - I2C2 clocks enable during Sleep and Stop modes
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 I2C2SMEN_R
impl Deref for I2C2SMEN_R
type Target = FieldReader<bool, bool>
type Target = FieldReader<bool, bool>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<I2C2SMEN_R as Deref>::Target
fn deref(&self) -> &<I2C2SMEN_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for I2C2SMEN_R
impl Send for I2C2SMEN_R
impl Sync for I2C2SMEN_R
impl Unpin for I2C2SMEN_R
impl UnwindSafe for I2C2SMEN_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