Struct stm32_metapac::dmamux::regs::Rgsr
#[repr(transparent)]pub struct Rgsr(pub u32);
Expand description
DMAMux - DMA request generator status register
Tuple Fields§
§0: u32
Implementations§
§impl Rgsr
impl Rgsr
pub const fn of(&self, n: usize) -> bool
pub const fn of(&self, n: usize) -> bool
Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register.
pub fn set_of(&mut self, n: usize, val: bool)
pub fn set_of(&mut self, n: usize, val: bool)
Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register.
Trait Implementations§
impl Copy for Rgsr
impl Eq for Rgsr
impl StructuralPartialEq for Rgsr
Auto Trait Implementations§
impl Freeze for Rgsr
impl RefUnwindSafe for Rgsr
impl Send for Rgsr
impl Sync for Rgsr
impl Unpin for Rgsr
impl UnwindSafe for Rgsr
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)