Enum stm32f429i_disc::rcc::apb2lpenr::TIM1LPENR
pub enum TIM1LPENR {
DISABLEDINSLEEP,
ENABLEDINSLEEP,
}
Expand description
Possible values of the field TIM1LPEN
Variants
DISABLEDINSLEEP
Selected module is disabled during Sleep mode
ENABLEDINSLEEP
Selected module is enabled during Sleep mode
Implementations
impl TIM1LPENR
impl TIM1LPENR
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_disabled_in_sleep(&self) -> bool
pub fn is_disabled_in_sleep(&self) -> bool
Checks if the value of the field is DISABLEDINSLEEP
pub 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 TIM1LPENR
impl StructuralPartialEq for TIM1LPENR
Auto Trait Implementations
impl RefUnwindSafe for TIM1LPENR
impl Send for TIM1LPENR
impl Sync for TIM1LPENR
impl Unpin for TIM1LPENR
impl UnwindSafe for TIM1LPENR
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