embassy-nrf

Crates

git

Versions

nrf9151-ns

Flavors

Etb

Struct Etb 

pub struct Etb { /* private fields */ }
Expand description

Embedded Trace Buffer

Implementations§

§

impl Etb

pub const unsafe fn from_ptr(ptr: *mut ()) -> Etb

pub const fn as_ptr(&self) -> *mut ()

pub const fn rdp(self) -> Reg<u32, R>

ETB RAM Depth Register

pub const fn sts(self) -> Reg<Sts, R>

ETB Status Register

pub const fn rrd(self) -> Reg<u32, R>

ETB RAM Read Data Register

pub const fn rrp(self) -> Reg<Rrp, RW>

ETB RAM Read Pointer Register

pub const fn rwp(self) -> Reg<Rwp, RW>

ETB RAM Write Pointer Register

pub const fn trg(self) -> Reg<Trg, RW>

ETB Trigger Counter Register

pub const fn ctl(self) -> Reg<Ctl, RW>

ETB Control Register

pub const fn rwd(self) -> Reg<u32, RW>

ETB RAM Write Data Register

pub const fn ffsr(self) -> Reg<Ffsr, R>

ETB Formatter and Flush Status Register

pub const fn ffcr(self) -> Reg<Ffcr, RW>

ETB Formatter and Flush Control Register

pub const fn itmiscop0(self) -> Reg<Itmiscop0, W>

Integration Test Miscellaneous Output Register 0

pub const fn ittrflinack(self) -> Reg<Ittrflinack, W>

Integration Test Trigger In and Flush In Acknowledge Register

pub const fn ittrflin(self) -> Reg<Ittrflin, R>

Integration Test Trigger In and Flush In Register

pub const fn itatbdata0(self) -> Reg<Itatbdata0, R>

Integration Test ATB Data Register 0

pub const fn itatbctr2(self) -> Reg<Itatbctr2, W>

Integration Test ATB Control Register 2

pub const fn itatbctr1(self) -> Reg<Itatbctr1, R>

Integration Test ATB Control Register 1

pub const fn itatbctr0(self) -> Reg<Itatbctr0, R>

Integration Test ATB Control Register 0

pub const fn itctrl(self) -> Reg<Itctrl, RW>

Integration Mode Control Register

pub const fn claimset(self) -> Reg<Claimset, RW>

Claim Tag Set Register

pub const fn claimclr(self) -> Reg<Claimclr, RW>

Claim Tag Clear Register

pub const fn lar(self) -> Reg<u32, W>

Lock Access Register

pub const fn lsr(self) -> Reg<Lsr, R>

Lock Status Register

pub const fn authstatus(self) -> Reg<Authstatus, R>

Authentication Status Register

pub const fn devid(self) -> Reg<Devid, R>

Device Configuration Register

pub const fn devtype(self) -> Reg<Devtype, R>

Device Type Identifier Register

pub const fn periphid4(self) -> Reg<Periphid4, R>

Peripheral ID4 Register

pub const fn periphid0(self) -> Reg<Periphid0, R>

Peripheral ID0 Register

pub const fn periphid1(self) -> Reg<Periphid1, R>

Peripheral ID1 Register

pub const fn periphid2(self) -> Reg<Periphid2, R>

Peripheral ID2 Register

pub const fn periphid3(self) -> Reg<Periphid3, R>

Peripheral ID3 Register

pub const fn compid0(self) -> Reg<Compid0, R>

Component ID0 Register

pub const fn compid1(self) -> Reg<Compid1, R>

Component ID1 Register

pub const fn compid2(self) -> Reg<Compid2, R>

Component ID2 Register

pub const fn compid3(self) -> Reg<Compid3, R>

Component ID3 Register

Trait Implementations§

§

impl Clone for Etb

§

fn clone(&self) -> Etb

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl PartialEq for Etb

§

fn eq(&self, other: &Etb) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Etb

§

impl Eq for Etb

§

impl Send for Etb

§

impl StructuralPartialEq for Etb

§

impl Sync for Etb

Auto Trait Implementations§

§

impl Freeze for Etb

§

impl RefUnwindSafe for Etb

§

impl Unpin for Etb

§

impl UnwindSafe for Etb

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Az for T

Source§

fn az<Dst>(self) -> Dst
where T: Cast<Dst>,

Casts the value.
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<Src, Dst> CastFrom<Src> for Dst
where Src: Cast<Dst>,

Source§

fn cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> CheckedAs for T

Source§

fn checked_as<Dst>(self) -> Option<Dst>
where T: CheckedCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> CheckedCastFrom<Src> for Dst
where Src: CheckedCast<Dst>,

Source§

fn checked_cast_from(src: Src) -> Option<Dst>

Casts the value.
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<Src, Dst> LosslessTryInto<Dst> for Src
where Dst: LosslessTryFrom<Src>,

Source§

fn lossless_try_into(self) -> Option<Dst>

Performs the conversion.
Source§

impl<Src, Dst> LossyInto<Dst> for Src
where Dst: LossyFrom<Src>,

Source§

fn lossy_into(self) -> Dst

Performs the conversion.
Source§

impl<T> OverflowingAs for T

Source§

fn overflowing_as<Dst>(self) -> (Dst, bool)
where T: OverflowingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> OverflowingCastFrom<Src> for Dst
where Src: OverflowingCast<Dst>,

Source§

fn overflowing_cast_from(src: Src) -> (Dst, bool)

Casts the value.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> SaturatingAs for T

Source§

fn saturating_as<Dst>(self) -> Dst
where T: SaturatingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> SaturatingCastFrom<Src> for Dst
where Src: SaturatingCast<Dst>,

Source§

fn saturating_cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> StrictAs for T

Source§

fn strict_as<Dst>(self) -> Dst
where T: StrictCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> StrictCastFrom<Src> for Dst
where Src: StrictCast<Dst>,

Source§

fn strict_cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> UnwrappedAs for T

Source§

fn unwrapped_as<Dst>(self) -> Dst
where T: UnwrappedCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> UnwrappedCastFrom<Src> for Dst
where Src: UnwrappedCast<Dst>,

Source§

fn unwrapped_cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> WrappingAs for T

Source§

fn wrapping_as<Dst>(self) -> Dst
where T: WrappingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> WrappingCastFrom<Src> for Dst
where Src: WrappingCast<Dst>,

Source§

fn wrapping_cast_from(src: Src) -> Dst

Casts the value.