Struct Ccr
#[repr(transparent)]pub struct Ccr(pub u32);
Expand description
DMAMux - DMA request line multiplexer channel x control register
Tuple Fields§
§0: u32
Implementations§
§impl Ccr
impl Ccr
pub fn set_dmareq_id(&mut self, val: u8)
pub fn set_dmareq_id(&mut self, val: u8)
Input DMA request line selected
pub const fn spol(&self) -> Pol
pub const fn spol(&self) -> Pol
Synchronization event type selector Defines the synchronization event on the selected synchronization input:
pub fn set_spol(&mut self, val: Pol)
pub fn set_spol(&mut self, val: Pol)
Synchronization event type selector Defines the synchronization event on the selected synchronization input:
pub const fn nbreq(&self) -> u8
pub const fn nbreq(&self) -> u8
Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset.
pub fn set_nbreq(&mut self, val: u8)
pub fn set_nbreq(&mut self, val: u8)
Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset.
pub fn set_sync_id(&mut self, val: u8)
pub fn set_sync_id(&mut self, val: u8)
Synchronization input selected
Trait Implementations§
impl Copy for Ccr
impl Eq for Ccr
impl StructuralPartialEq for Ccr
Auto Trait Implementations§
impl Freeze for Ccr
impl RefUnwindSafe for Ccr
impl Send for Ccr
impl Sync for Ccr
impl Unpin for Ccr
impl UnwindSafe for Ccr
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
)