Struct Ccr
#[repr(transparent)]pub struct Ccr(pub u32);Expand description
DMAMux - DMA request line multiplexer channel x control register
Tuple Fields§
§0: u32Implementations§
§impl Ccr
impl Ccr
pub const fn set_dmareq_id(&mut self, val: u8)
pub const fn set_dmareq_id(&mut self, val: u8)
Input DMA request line selected
pub const fn set_soie(&mut self, val: bool)
pub const fn set_soie(&mut self, val: bool)
Interrupt enable at synchronization event overrun (not on STM32WB0)
pub const fn set_se(&mut self, val: bool)
pub const fn set_se(&mut self, val: bool)
Synchronous operating mode enable/disable (not on STM32WB0)
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 (not on STM32WB0).
pub const fn set_spol(&mut self, val: Pol)
pub const fn set_spol(&mut self, val: Pol)
Synchronization event type selector. Defines the synchronization event on the selected synchronization input (not on STM32WB0).
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. Not on STM32WB0.
pub const fn set_nbreq(&mut self, val: u8)
pub const 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. Not on STM32WB0.
pub const fn set_sync_id(&mut self, val: u8)
pub const fn set_sync_id(&mut self, val: u8)
Synchronization input selected (not on STM32WB0)