Struct stm32_metapac::lptim::regs::Dier
#[repr(transparent)]pub struct Dier(pub u32);
Expand description
LPTIM interrupt enable register.
Tuple Fields§
§0: u32
Implementations§
§impl Dier
impl Dier
pub fn set_arrmie(&mut self, val: bool)
pub fn set_arrmie(&mut self, val: bool)
Autoreload match Interrupt Enable.
pub fn set_exttrigie(&mut self, val: bool)
pub fn set_exttrigie(&mut self, val: bool)
External trigger valid edge Interrupt Enable.
pub fn set_cmpokie(&mut self, n: usize, val: bool)
pub fn set_cmpokie(&mut self, n: usize, val: bool)
Compare register 1 update OK interrupt enable.
pub fn set_arrokie(&mut self, val: bool)
pub fn set_arrokie(&mut self, val: bool)
Autoreload register update OK Interrupt Enable.
pub const fn upie(&self) -> bool
pub const fn upie(&self) -> bool
Direction change to UP Interrupt Enable Note: If the LPTIM does not support encoder mode feature, this bit is reserved. Please refer to.
pub fn set_upie(&mut self, val: bool)
pub fn set_upie(&mut self, val: bool)
Direction change to UP Interrupt Enable Note: If the LPTIM does not support encoder mode feature, this bit is reserved. Please refer to.
pub const fn downie(&self) -> bool
pub const fn downie(&self) -> bool
Direction change to down Interrupt Enable Note: If the LPTIM does not support encoder mode feature, this bit is reserved. Please refer to.
pub fn set_downie(&mut self, val: bool)
pub fn set_downie(&mut self, val: bool)
Direction change to down Interrupt Enable Note: If the LPTIM does not support encoder mode feature, this bit is reserved. Please refer to.
pub fn set_repokie(&mut self, val: bool)
pub fn set_repokie(&mut self, val: bool)
Repetition register update OK interrupt Enable.
pub const fn ccoie(&self, n: usize) -> bool
pub const fn ccoie(&self, n: usize) -> bool
Capture/compare 1 over-capture interrupt enable Note: If LPTIM does not implement at least 1 channel this bit is reserved. Please refer to.
pub fn set_ccoie(&mut self, n: usize, val: bool)
pub fn set_ccoie(&mut self, n: usize, val: bool)
Capture/compare 1 over-capture interrupt enable Note: If LPTIM does not implement at least 1 channel this bit is reserved. Please refer to.
Trait Implementations§
impl Copy for Dier
impl Eq for Dier
impl StructuralPartialEq for Dier
Auto Trait Implementations§
impl Freeze for Dier
impl RefUnwindSafe for Dier
impl Send for Dier
impl Sync for Dier
impl Unpin for Dier
impl UnwindSafe for Dier
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)