Struct rp2040_pac2::dma::regs::MultiChanTrigger[][src]

#[repr(transparent)]pub struct MultiChanTrigger(pub u32);

Trigger one or more channels simultaneously

Implementations

impl MultiChanTrigger[src]

pub const fn multi_chan_trigger(&self) -> u16[src]

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.

pub fn set_multi_chan_trigger(&mut self, val: u16)[src]

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

impl Clone for MultiChanTrigger[src]

impl Copy for MultiChanTrigger[src]

impl Default for MultiChanTrigger[src]

Auto Trait Implementations

impl Send for MultiChanTrigger

impl Sync for MultiChanTrigger

impl Unpin for MultiChanTrigger

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.