Struct rp_pac::dma::regs::MultiChanTrigger
source · #[repr(transparent)]pub struct MultiChanTrigger(pub u32);
Expand description
Trigger one or more channels simultaneously
Tuple Fields§
§0: u32
Implementations§
source§impl MultiChanTrigger
impl MultiChanTrigger
sourcepub const fn multi_chan_trigger(&self) -> u16
pub const fn multi_chan_trigger(&self) -> u16
Each bit in this register corresponds to a DMA channel. Writing a 1 to the relevant bit is the same as writing to that channel’s trigger register; the channel will start if it is currently enabled and not already busy.
sourcepub fn set_multi_chan_trigger(&mut self, val: u16)
pub fn set_multi_chan_trigger(&mut self, val: u16)
Each bit in this register corresponds to a DMA channel. Writing a 1 to the relevant bit is the same as writing to that channel’s trigger register; the channel will start if it is currently enabled and not already busy.
Trait Implementations§
source§impl Clone for MultiChanTrigger
impl Clone for MultiChanTrigger
source§fn clone(&self) -> MultiChanTrigger
fn clone(&self) -> MultiChanTrigger
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for MultiChanTrigger
impl Default for MultiChanTrigger
source§fn default() -> MultiChanTrigger
fn default() -> MultiChanTrigger
Returns the “default value” for a type. Read more
source§impl PartialEq for MultiChanTrigger
impl PartialEq for MultiChanTrigger
impl Copy for MultiChanTrigger
impl Eq for MultiChanTrigger
impl StructuralPartialEq for MultiChanTrigger
Auto Trait Implementations§
impl Freeze for MultiChanTrigger
impl RefUnwindSafe for MultiChanTrigger
impl Send for MultiChanTrigger
impl Sync for MultiChanTrigger
impl Unpin for MultiChanTrigger
impl UnwindSafe for MultiChanTrigger
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
)