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

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

Debug RAF, WAF, TDF levels

Implementations

impl FifoLevels[src]

pub const fn raf_lvl(&self) -> u8[src]

Current Read-Address-FIFO fill level

pub fn set_raf_lvl(&mut self, val: u8)[src]

Current Read-Address-FIFO fill level

pub const fn waf_lvl(&self) -> u8[src]

Current Write-Address-FIFO fill level

pub fn set_waf_lvl(&mut self, val: u8)[src]

Current Write-Address-FIFO fill level

pub const fn tdf_lvl(&self) -> u8[src]

Current Transfer-Data-FIFO fill level

pub fn set_tdf_lvl(&mut self, val: u8)[src]

Current Transfer-Data-FIFO fill level

Trait Implementations

impl Clone for FifoLevels[src]

impl Copy for FifoLevels[src]

impl Default for FifoLevels[src]

Auto Trait Implementations

impl Send for FifoLevels

impl Sync for FifoLevels

impl Unpin for FifoLevels

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.