Struct Cr
#[repr(transparent)]pub struct Cr(pub u32);Expand description
DMA channel x configuration register (DMA_CCR)
Tuple Fields§
§0: u32Implementations§
§impl Cr
impl Cr
pub const fn set_mem2mem(&mut self, val: bool)
pub const fn set_mem2mem(&mut self, val: bool)
Memory to memory mode enabled
pub const fn ct(&self) -> Ct
pub const fn ct(&self) -> Ct
Current target memory of DMA transfer in double-buffer mode (only on STM32H7 BDMA and STM32L5)
pub const fn set_ct(&mut self, val: Ct)
pub const fn set_ct(&mut self, val: Ct)
Current target memory of DMA transfer in double-buffer mode (only on STM32H7 BDMA and STM32L5)
pub const fn ssec(&self) -> bool
pub const fn ssec(&self) -> bool
Security of the DMA transfer from the source (only on STM32L5 and STM32WL5x)
pub const fn set_ssec(&mut self, val: bool)
pub const fn set_ssec(&mut self, val: bool)
Security of the DMA transfer from the source (only on STM32L5 and STM32WL5x)
pub const fn dsec(&self) -> bool
pub const fn dsec(&self) -> bool
Security of the DMA transfer to the destination (only on STM32L5 and STM32WL5x)
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 UnsafeUnpin 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
Mutably borrows from an owned value. Read more