Struct Cr
#[repr(transparent)]pub struct Cr(pub u32);
Expand description
DMA2D control register
Tuple Fields§
§0: u32
Implementations§
§impl Cr
impl Cr
pub const fn start(&self) -> CrStart
pub const fn start(&self) -> CrStart
Start This bit can be used to launch the DMA2D according to the parameters loaded in the various configuration registers
pub fn set_start(&mut self, val: CrStart)
pub fn set_start(&mut self, val: CrStart)
Start This bit can be used to launch the DMA2D according to the parameters loaded in the various configuration registers
pub const fn susp(&self) -> Susp
pub const fn susp(&self) -> Susp
Suspend This bit can be used to suspend the current transfer. This bit is set and reset by software. It is automatically reset by hardware when the START bit is reset.
pub fn set_susp(&mut self, val: Susp)
pub fn set_susp(&mut self, val: Susp)
Suspend This bit can be used to suspend the current transfer. This bit is set and reset by software. It is automatically reset by hardware when the START bit is reset.
pub const fn abort(&self) -> Abort
pub const fn abort(&self) -> Abort
Abort This bit can be used to abort the current transfer. This bit is set by software and is automatically reset by hardware when the START bit is reset.
pub fn set_abort(&mut self, val: Abort)
pub fn set_abort(&mut self, val: Abort)
Abort This bit can be used to abort the current transfer. This bit is set by software and is automatically reset by hardware when the START bit is reset.
pub const fn teie(&self) -> Teie
pub const fn teie(&self) -> Teie
Transfer error interrupt enable This bit is set and cleared by software.
pub fn set_teie(&mut self, val: Teie)
pub fn set_teie(&mut self, val: Teie)
Transfer error interrupt enable This bit is set and cleared by software.
pub const fn tcie(&self) -> Tcie
pub const fn tcie(&self) -> Tcie
Transfer complete interrupt enable This bit is set and cleared by software.
pub fn set_tcie(&mut self, val: Tcie)
pub fn set_tcie(&mut self, val: Tcie)
Transfer complete interrupt enable This bit is set and cleared by software.
pub const fn twie(&self) -> Twie
pub const fn twie(&self) -> Twie
Transfer watermark interrupt enable This bit is set and cleared by software.
pub fn set_twie(&mut self, val: Twie)
pub fn set_twie(&mut self, val: Twie)
Transfer watermark interrupt enable This bit is set and cleared by software.
pub const fn caeie(&self) -> Caeie
pub const fn caeie(&self) -> Caeie
CLUT access error interrupt enable This bit is set and cleared by software.
pub fn set_caeie(&mut self, val: Caeie)
pub fn set_caeie(&mut self, val: Caeie)
CLUT access error interrupt enable This bit is set and cleared by software.
pub const fn ctcie(&self) -> Ctcie
pub const fn ctcie(&self) -> Ctcie
CLUT transfer complete interrupt enable This bit is set and cleared by software.
pub fn set_ctcie(&mut self, val: Ctcie)
pub fn set_ctcie(&mut self, val: Ctcie)
CLUT transfer complete interrupt enable This bit is set and cleared by software.
pub const fn ceie(&self) -> Ceie
pub const fn ceie(&self) -> Ceie
Configuration Error Interrupt Enable This bit is set and cleared by software.
pub fn set_ceie(&mut self, val: Ceie)
pub fn set_ceie(&mut self, val: Ceie)
Configuration Error Interrupt Enable This bit is set and cleared by software.