Struct Trcpdsr
#[repr(transparent)]pub struct Trcpdsr(pub u32);
Expand description
Indicates the power down status of the ETM.
Tuple Fields§
§0: u32
Implementations§
§impl Trcpdsr
impl Trcpdsr
pub const fn stickypd(&self) -> bool
pub const fn stickypd(&self) -> bool
Sticky power down state. This bit is set to 1 when power to the ETM registers is removed, to indicate that programming state has been lost. It is cleared after a read of the TRCPDSR
pub fn set_stickypd(&mut self, val: bool)
pub fn set_stickypd(&mut self, val: bool)
Sticky power down state. This bit is set to 1 when power to the ETM registers is removed, to indicate that programming state has been lost. It is cleared after a read of the TRCPDSR
Trait Implementations§
impl Copy for Trcpdsr
impl Eq for Trcpdsr
impl StructuralPartialEq for Trcpdsr
Auto Trait Implementations§
impl Freeze for Trcpdsr
impl RefUnwindSafe for Trcpdsr
impl Send for Trcpdsr
impl Sync for Trcpdsr
impl Unpin for Trcpdsr
impl UnwindSafe for Trcpdsr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)