Struct rp_pac::glitch_detector::regs::TrigForce
source · #[repr(transparent)]pub struct TrigForce(pub u32);
Expand description
Simulate the firing of one or more detectors. Writing ones to this register will set the matching bits in STATUS_TRIG. If the glitch detectors are currently armed, writing ones will also immediately reset the switched core power domain, and set the reset reason latches in POWMAN_CHIP_RESET to indicate a glitch detector resets. This register is Secure read/write only.
Tuple Fields§
§0: u32
Implementations§
source§impl TrigForce
impl TrigForce
pub const fn trig_force(&self) -> u8
pub fn set_trig_force(&mut self, val: u8)
Trait Implementations§
impl Copy for TrigForce
impl Eq for TrigForce
impl StructuralPartialEq for TrigForce
Auto Trait Implementations§
impl Freeze for TrigForce
impl RefUnwindSafe for TrigForce
impl Send for TrigForce
impl Sync for TrigForce
impl Unpin for TrigForce
impl UnwindSafe for TrigForce
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
)