Struct stm32f4xx_hal::pac::rcc::apb1lpenr::TIM2LPEN_R
source · [−]pub struct TIM2LPEN_R(_);
Expand description
Field TIM2LPEN
reader - TIM2 clock enable during Sleep mode
Implementations
sourceimpl TIM2LPEN_R
impl TIM2LPEN_R
sourcepub fn variant(&self) -> TIM2LPEN_A
pub fn variant(&self) -> TIM2LPEN_A
Get enumerated values variant
sourcepub fn is_disabled_in_sleep(&self) -> bool
pub fn is_disabled_in_sleep(&self) -> bool
Checks if the value of the field is DISABLEDINSLEEP
sourcepub fn is_enabled_in_sleep(&self) -> bool
pub fn is_enabled_in_sleep(&self) -> bool
Checks if the value of the field is ENABLEDINSLEEP
Methods from Deref<Target = FieldReader<bool, TIM2LPEN_A>>
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 TIM2LPEN_R
impl Deref for TIM2LPEN_R
type Target = FieldReader<bool, TIM2LPEN_A>
type Target = FieldReader<bool, TIM2LPEN_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<TIM2LPEN_R as Deref>::Target
fn deref(&self) -> &<TIM2LPEN_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for TIM2LPEN_R
impl Send for TIM2LPEN_R
impl Sync for TIM2LPEN_R
impl Unpin for TIM2LPEN_R
impl UnwindSafe for TIM2LPEN_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