embassy-nrf

Crates

git

Versions

nrf9161-ns

Flavors

Skip to main content

Sts

Struct Sts 

#[repr(transparent)]
pub struct Sts(pub u32);
Expand description

ETB Status Register.

Tuple Fields§

§0: u32

Implementations§

§

impl Sts

pub const fn full(&self) -> bool

RAM Full. The flag indicates when the RAM write pointer has wrapped around.

pub const fn set_full(&mut self, val: bool)

RAM Full. The flag indicates when the RAM write pointer has wrapped around.

pub const fn triggered(&self) -> bool

The Triggered bit is set when a trigger has been observed. This does not indicate that a trigger has been embedded in the trace data by the formatter, but is determined by the programming of the Formatter and Flush Control Register.

pub const fn set_triggered(&mut self, val: bool)

The Triggered bit is set when a trigger has been observed. This does not indicate that a trigger has been embedded in the trace data by the formatter, but is determined by the programming of the Formatter and Flush Control Register.

pub const fn acqcomp(&self) -> bool

The acquisition complete flag indicates that capture has been completed when the formatter stops because of any of the methods defined in the Formatter and Flush Control Register, or TraceCaptEn = 0. This also results in FtStopped in the Formatter and Flush Status Register going HIGH.

pub const fn set_acqcomp(&mut self, val: bool)

The acquisition complete flag indicates that capture has been completed when the formatter stops because of any of the methods defined in the Formatter and Flush Control Register, or TraceCaptEn = 0. This also results in FtStopped in the Formatter and Flush Status Register going HIGH.

pub const fn ftempty(&self) -> bool

Formatter pipeline empty. All data stored to RAM.

pub const fn set_ftempty(&mut self, val: bool)

Formatter pipeline empty. All data stored to RAM.

Trait Implementations§

§

impl Clone for Sts

§

fn clone(&self) -> Sts

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
§

impl Copy for Sts

§

impl Debug for Sts

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Sts

§

fn default() -> Sts

Returns the “default value” for a type. Read more
§

impl Eq for Sts

§

impl PartialEq for Sts

§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
§

impl StructuralPartialEq for Sts

Auto Trait Implementations§

§

impl Freeze for Sts

§

impl RefUnwindSafe for Sts

§

impl Send for Sts

§

impl Sync for Sts

§

impl Unpin for Sts

§

impl UnsafeUnpin for Sts

§

impl UnwindSafe for Sts

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> 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<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<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

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.