Struct stm32_metapac::dmamux::regs::Rgcr
#[repr(transparent)]pub struct Rgcr(pub u32);
Expand description
DMAMux - DMA request generator channel x control register
Tuple Fields§
§0: u32
Implementations§
§impl Rgcr
impl Rgcr
pub fn set_sig_id(&mut self, val: u8)
pub fn set_sig_id(&mut self, val: u8)
DMA request trigger input selected
pub const fn gpol(&self) -> Pol
pub const fn gpol(&self) -> Pol
DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input
pub fn set_gpol(&mut self, val: Pol)
pub fn set_gpol(&mut self, val: Pol)
DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input
pub const fn gnbreq(&self) -> u8
pub const fn gnbreq(&self) -> u8
Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset.
pub fn set_gnbreq(&mut self, val: u8)
pub fn set_gnbreq(&mut self, val: u8)
Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset.