Struct stm32_metapac::dma2d::regs::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) -> bool
pub const fn susp(&self) -> bool
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: bool)
pub fn set_susp(&mut self, val: bool)
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) -> bool
pub const fn teie(&self) -> bool
Transfer error interrupt enable This bit is set and cleared by software.
pub fn set_teie(&mut self, val: bool)
pub fn set_teie(&mut self, val: bool)
Transfer error interrupt enable This bit is set and cleared by software.
pub const fn tcie(&self) -> bool
pub const fn tcie(&self) -> bool
Transfer complete interrupt enable This bit is set and cleared by software.
pub fn set_tcie(&mut self, val: bool)
pub fn set_tcie(&mut self, val: bool)
Transfer complete interrupt enable This bit is set and cleared by software.
pub const fn twie(&self) -> bool
pub const fn twie(&self) -> bool
Transfer watermark interrupt enable This bit is set and cleared by software.
pub fn set_twie(&mut self, val: bool)
pub fn set_twie(&mut self, val: bool)
Transfer watermark interrupt enable This bit is set and cleared by software.
pub const fn caeie(&self) -> bool
pub const fn caeie(&self) -> bool
CLUT access error interrupt enable This bit is set and cleared by software.
pub fn set_caeie(&mut self, val: bool)
pub fn set_caeie(&mut self, val: bool)
CLUT access error interrupt enable This bit is set and cleared by software.
pub const fn ctcie(&self) -> bool
pub const fn ctcie(&self) -> bool
CLUT transfer complete interrupt enable This bit is set and cleared by software.
pub fn set_ctcie(&mut self, val: bool)
pub fn set_ctcie(&mut self, val: bool)
CLUT transfer complete interrupt enable This bit is set and cleared by software.
pub const fn ceie(&self) -> bool
pub const fn ceie(&self) -> bool
Configuration Error Interrupt Enable This bit is set and cleared by software.
pub fn set_ceie(&mut self, val: bool)
pub fn set_ceie(&mut self, val: bool)
Configuration Error Interrupt Enable This bit is set and cleared by software.
Trait Implementations§
impl Copy for Cr
impl Eq for Cr
impl StructuralPartialEq for Cr
Auto Trait Implementations§
impl Freeze for Cr
impl RefUnwindSafe for Cr
impl Send for Cr
impl Sync for Cr
impl Unpin for Cr
impl UnwindSafe for Cr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)