Struct stm32l0xx_hal::lptim::Interrupts
source · [−]pub struct Interrupts {
pub enc_dir_down: bool,
pub enc_dir_up: bool,
pub autoreload_update_ok: bool,
pub compare_update_ok: bool,
pub ext_trig: bool,
pub autoreload_match: bool,
pub compare_match: bool,
}
Expand description
Interrupt enable flags.
Fields
enc_dir_down: bool
Encoder direction change to down.
enc_dir_up: bool
Encoder direction change to up.
autoreload_update_ok: bool
ARR register update successful.
compare_update_ok: bool
CMP register update successful.
ext_trig: bool
Valid edge on ext. trigger input.
autoreload_match: bool
ARR register matches current CNT value.
compare_match: bool
CMP register matches current CNT value.
Trait Implementations
sourceimpl Clone for Interrupts
impl Clone for Interrupts
sourcefn clone(&self) -> Interrupts
fn clone(&self) -> Interrupts
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Interrupts
impl Debug for Interrupts
sourceimpl Default for Interrupts
impl Default for Interrupts
sourcefn default() -> Interrupts
fn default() -> Interrupts
Returns the “default value” for a type. Read more
sourceimpl PartialEq<Interrupts> for Interrupts
impl PartialEq<Interrupts> for Interrupts
sourcefn eq(&self, other: &Interrupts) -> bool
fn eq(&self, other: &Interrupts) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Interrupts) -> bool
fn ne(&self, other: &Interrupts) -> bool
This method tests for !=
.
impl Copy for Interrupts
impl Eq for Interrupts
impl StructuralEq for Interrupts
impl StructuralPartialEq for Interrupts
Auto Trait Implementations
impl RefUnwindSafe for Interrupts
impl Send for Interrupts
impl Sync for Interrupts
impl Unpin for Interrupts
impl UnwindSafe for Interrupts
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