stm32-metapac

Crates

git

Versions

stm32u5f7vj

Flavors

Isr

Struct Isr 

#[repr(transparent)]
pub struct Isr(pub u32);
Expand description

GFXTIM interrupt status register.

Tuple Fields§

§0: u32

Implementations§

§

impl Isr

pub const fn afcof(&self) -> bool

absolute frame counter overflow flag This bit indicates an overflow occurred on the absolute frame counter.

pub const fn set_afcof(&mut self, val: bool)

absolute frame counter overflow flag This bit indicates an overflow occurred on the absolute frame counter.

pub const fn alcof(&self) -> bool

absolute line counter overflow flag This bit indicates an overflow occurred on the absolute line counter.

pub const fn set_alcof(&mut self, val: bool)

absolute line counter overflow flag This bit indicates an overflow occurred on the absolute line counter.

pub const fn tef(&self) -> bool

tearing-effect flag This bit indicates a tearing effect event occurred.

pub const fn set_tef(&mut self, val: bool)

tearing-effect flag This bit indicates a tearing effect event occurred.

pub const fn afcc1f(&self) -> bool

absolute frame counter compare 1 flag This bit indicates match on compare 1 of the absolute frame counter.

pub const fn set_afcc1f(&mut self, val: bool)

absolute frame counter compare 1 flag This bit indicates match on compare 1 of the absolute frame counter.

pub const fn alcc1f(&self) -> bool

absolute line counter compare 1 flag This bit indicates match on compare 1 of the absolute line counter.

pub const fn set_alcc1f(&mut self, val: bool)

absolute line counter compare 1 flag This bit indicates match on compare 1 of the absolute line counter.

pub const fn alcc2f(&self) -> bool

absolute line counter compare 2 flag This bit indicates match on compare 2 of the absolute line counter.

pub const fn set_alcc2f(&mut self, val: bool)

absolute line counter compare 2 flag This bit indicates match on compare 2 of the absolute line counter.

pub const fn rfc1rf(&self) -> bool

relative frame counter 1 reload flag This bit indicates relative frame counter 1 has been reloaded.

pub const fn set_rfc1rf(&mut self, val: bool)

relative frame counter 1 reload flag This bit indicates relative frame counter 1 has been reloaded.

pub const fn rfc2rf(&self) -> bool

relative frame counter 2 reload flag This bit indicates relative frame counter 2 has been reloaded.

pub const fn set_rfc2rf(&mut self, val: bool)

relative frame counter 2 reload flag This bit indicates relative frame counter 2 has been reloaded.

pub const fn ev1f(&self) -> bool

event 1 flag This bit indicates a complex event 1 occurred.

pub const fn set_ev1f(&mut self, val: bool)

event 1 flag This bit indicates a complex event 1 occurred.

pub const fn ev2f(&self) -> bool

event 2 flag This bit indicates a complex event 2 occurred.

pub const fn set_ev2f(&mut self, val: bool)

event 2 flag This bit indicates a complex event 2 occurred.

pub const fn ev3f(&self) -> bool

event 3 flag This bit indicates a complex event 3 occurred.

pub const fn set_ev3f(&mut self, val: bool)

event 3 flag This bit indicates a complex event 3 occurred.

pub const fn ev4f(&self) -> bool

event 4 flag This bit indicates a complex event 4 occurred.

pub const fn set_ev4f(&mut self, val: bool)

event 4 flag This bit indicates a complex event 4 occurred.

pub const fn wdgaf(&self) -> bool

watchdog alarm flag This bit indicates that a graphic watchdog alarm occurred.

pub const fn set_wdgaf(&mut self, val: bool)

watchdog alarm flag This bit indicates that a graphic watchdog alarm occurred.

pub const fn wdgpf(&self) -> bool

watchdog pre-alarm flag This bit indicates that a graphic watchdog pre-alarm occurred.

pub const fn set_wdgpf(&mut self, val: bool)

watchdog pre-alarm flag This bit indicates that a graphic watchdog pre-alarm occurred.

Trait Implementations§

§

impl Clone for Isr

§

fn clone(&self) -> Isr

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Isr

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for Isr

§

fn default() -> Isr

Returns the “default value” for a type. Read more
§

impl PartialEq for Isr

§

fn eq(&self, other: &Isr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Isr

§

impl Eq for Isr

§

impl StructuralPartialEq for Isr

Auto Trait Implementations§

§

impl Freeze for Isr

§

impl RefUnwindSafe for Isr

§

impl Send for Isr

§

impl Sync for Isr

§

impl Unpin for Isr

§

impl UnwindSafe for Isr

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.