Struct stm32_metapac::dmamux::regs::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