Struct rp2040_pac2::busctrl::regs::BusPriority[][src]

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

Set the priority of each master for bus arbitration.

Implementations

impl BusPriority[src]

pub const fn dma_w(&self) -> bool[src]

0 - low priority, 1 - high priority

pub fn set_dma_w(&mut self, val: bool)[src]

0 - low priority, 1 - high priority

pub const fn dma_r(&self) -> bool[src]

0 - low priority, 1 - high priority

pub fn set_dma_r(&mut self, val: bool)[src]

0 - low priority, 1 - high priority

pub const fn proc1(&self) -> bool[src]

0 - low priority, 1 - high priority

pub fn set_proc1(&mut self, val: bool)[src]

0 - low priority, 1 - high priority

pub const fn proc0(&self) -> bool[src]

0 - low priority, 1 - high priority

pub fn set_proc0(&mut self, val: bool)[src]

0 - low priority, 1 - high priority

Trait Implementations

impl Clone for BusPriority[src]

impl Copy for BusPriority[src]

impl Default for BusPriority[src]

Auto Trait Implementations

impl Send for BusPriority

impl Sync for BusPriority

impl Unpin for BusPriority

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.