Struct 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.
Trait Implementations§
impl Copy for Rgcr
impl Eq for Rgcr
impl StructuralPartialEq for Rgcr
Auto Trait Implementations§
impl Freeze for Rgcr
impl RefUnwindSafe for Rgcr
impl Send for Rgcr
impl Sync for Rgcr
impl Unpin for Rgcr
impl UnwindSafe for Rgcr
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
)