Struct rp2040_pac2::busctrl::regs::BusPriority [−][src]
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]
fn clone(&self) -> BusPriority
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BusPriority
[src]
impl Default for BusPriority
[src]
fn default() -> BusPriority
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,