pub enum TIM2LPENR {
DISABLEDINSLEEP,
ENABLEDINSLEEP,
}
Expand description
Possible values of the field TIM2LPEN
Variants§
DISABLEDINSLEEP
Selected module is disabled during Sleep mode
ENABLEDINSLEEP
Selected module is enabled during Sleep mode
Implementations§
Source§impl TIM2LPENR
impl TIM2LPENR
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)
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
Trait Implementations§
impl Copy for TIM2LPENR
impl StructuralPartialEq for TIM2LPENR
Auto Trait Implementations§
impl Freeze for TIM2LPENR
impl RefUnwindSafe for TIM2LPENR
impl Send for TIM2LPENR
impl Sync for TIM2LPENR
impl Unpin for TIM2LPENR
impl UnwindSafe for TIM2LPENR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more