stm32-metapac

Crates

git

Versions

stm32h7s7l8

Flavors

๐Ÿ“ฃ We want to hear from you! Fill the Rust Embedded 2024 micro-survey.

Struct stm32_metapac::dma2d::regs::Isr

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

DMA2D Interrupt Status Register

Tuple Fieldsยง

ยง0: u32

Implementationsยง

ยง

impl Isr

pub const fn teif(&self) -> bool

Transfer error interrupt flag This bit is set when an error occurs during a DMA transfer (data transfer or automatic CLUT loading).

pub fn set_teif(&mut self, val: bool)

Transfer error interrupt flag This bit is set when an error occurs during a DMA transfer (data transfer or automatic CLUT loading).

pub const fn tcif(&self) -> bool

Transfer complete interrupt flag This bit is set when a DMA2D transfer operation is complete (data transfer only).

pub fn set_tcif(&mut self, val: bool)

Transfer complete interrupt flag This bit is set when a DMA2D transfer operation is complete (data transfer only).

pub const fn twif(&self) -> bool

Transfer watermark interrupt flag This bit is set when the last pixel of the watermarked line has been transferred.

pub fn set_twif(&mut self, val: bool)

Transfer watermark interrupt flag This bit is set when the last pixel of the watermarked line has been transferred.

pub const fn caeif(&self) -> bool

CLUT access error interrupt flag This bit is set when the CPU accesses the CLUT while the CLUT is being automatically copied from a system memory to the internal DMA2D.

pub fn set_caeif(&mut self, val: bool)

CLUT access error interrupt flag This bit is set when the CPU accesses the CLUT while the CLUT is being automatically copied from a system memory to the internal DMA2D.

pub const fn ctcif(&self) -> bool

CLUT transfer complete interrupt flag This bit is set when the CLUT copy from a system memory area to the internal DMA2D memory is complete.

pub fn set_ctcif(&mut self, val: bool)

CLUT transfer complete interrupt flag This bit is set when the CLUT copy from a system memory area to the internal DMA2D memory is complete.

pub const fn ceif(&self) -> bool

Configuration error interrupt flag This bit is set when the START bit of DMA2D_CR, DMA2DFGPFCCR or DMA2D_BGPFCCR is set and a wrong configuration has been programmed.

pub fn set_ceif(&mut self, val: bool)

Configuration error interrupt flag This bit is set when the START bit of DMA2D_CR, DMA2DFGPFCCR or DMA2D_BGPFCCR is set and a wrong configuration has been programmed.

Trait Implementationsยง

ยง

impl Clone for Isr

ยง

fn clone(&self) -> Isr

Returns a copy of the value. Read more
1.0.0 ยท sourceยง

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

Performs copy-assignment from source. 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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 ยท sourceยง

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

This method 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 StructuralEq for Isr

ยง

impl StructuralPartialEq for Isr

Auto Trait Implementationsยง

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> 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>,

ยง

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>,

ยง

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.