Struct ChCidcfgr
#[repr(transparent)]pub struct ChCidcfgr(pub u32);Expand description
GPDMA channel x CID register (only on STM32N6 HPDMA)
Tuple Fields§
§0: u32Implementations§
§impl ChCidcfgr
impl ChCidcfgr
pub const fn sem_en(&self) -> bool
pub const fn sem_en(&self) -> bool
Semaphore mode enable (for the CID allocation policy to the channel x).
pub const fn set_sem_en(&mut self, val: bool)
pub const fn set_sem_en(&mut self, val: bool)
Semaphore mode enable (for the CID allocation policy to the channel x).
pub const fn scid(&self) -> u8
pub const fn scid(&self) -> u8
Allocation of a static/single CID to the channel x (for when the channel x CID configuration is not in semaphore mode). 0-6 = CID0-CID6.
pub const fn set_scid(&mut self, val: u8)
pub const fn set_scid(&mut self, val: u8)
Allocation of a static/single CID to the channel x (for when the channel x CID configuration is not in semaphore mode). 0-6 = CID0-CID6.
pub const fn sem_wlist_cid(&self, n: usize) -> bool
pub const fn sem_wlist_cid(&self, n: usize) -> bool
White-listed CIDn in the CID allocation pool (for when the channel x is in semaphore mode).
pub const fn set_sem_wlist_cid(&mut self, n: usize, val: bool)
pub const fn set_sem_wlist_cid(&mut self, n: usize, val: bool)
White-listed CIDn in the CID allocation pool (for when the channel x is in semaphore mode).
Trait Implementations§
impl Copy for ChCidcfgr
impl Eq for ChCidcfgr
impl StructuralPartialEq for ChCidcfgr
Auto Trait Implementations§
impl Freeze for ChCidcfgr
impl RefUnwindSafe for ChCidcfgr
impl Send for ChCidcfgr
impl Sync for ChCidcfgr
impl Unpin for ChCidcfgr
impl UnsafeUnpin for ChCidcfgr
impl UnwindSafe for ChCidcfgr
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