Struct Ier
#[repr(transparent)]pub struct Ier(pub u32);
Expand description
LPTIM interrupt enable register.
Tuple Fields§
§0: u32
Implementations§
§impl Ier
impl Ier
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.