Struct rp_pac::glitch_detector::regs::TrigStatus
source · #[repr(transparent)]pub struct TrigStatus(pub u32);
Expand description
Set when a detector output triggers. Write-1-clear. (May immediately return high if the detector remains in a failed state. Detectors can only be cleared by a full reset of the switched core power domain.) This register is Secure read/write only.
Tuple Fields§
§0: u32
Implementations§
source§impl TrigStatus
impl TrigStatus
pub const fn det0(&self) -> bool
pub fn set_det0(&mut self, val: bool)
pub const fn det1(&self) -> bool
pub fn set_det1(&mut self, val: bool)
pub const fn det2(&self) -> bool
pub fn set_det2(&mut self, val: bool)
pub const fn det3(&self) -> bool
pub fn set_det3(&mut self, val: bool)
Trait Implementations§
source§impl Clone for TrigStatus
impl Clone for TrigStatus
source§fn clone(&self) -> TrigStatus
fn clone(&self) -> TrigStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for TrigStatus
impl Default for TrigStatus
source§fn default() -> TrigStatus
fn default() -> TrigStatus
Returns the “default value” for a type. Read more
source§impl PartialEq for TrigStatus
impl PartialEq for TrigStatus
impl Copy for TrigStatus
impl Eq for TrigStatus
impl StructuralPartialEq for TrigStatus
Auto Trait Implementations§
impl Freeze for TrigStatus
impl RefUnwindSafe for TrigStatus
impl Send for TrigStatus
impl Sync for TrigStatus
impl Unpin for TrigStatus
impl UnwindSafe for TrigStatus
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
)