#[repr(transparent)]pub struct TrngSwReset(pub u32);
Expand description
Generate internal SW reset within the RNG block.
Tuple Fields§
§0: u32
Implementations§
Source§impl TrngSwReset
impl TrngSwReset
Sourcepub const fn trng_sw_reset(&self) -> bool
pub const fn trng_sw_reset(&self) -> bool
Writing 1’b1 to this register causes an internal RNG reset.
Sourcepub fn set_trng_sw_reset(&mut self, val: bool)
pub fn set_trng_sw_reset(&mut self, val: bool)
Writing 1’b1 to this register causes an internal RNG reset.
Sourcepub fn set_reserved(&mut self, val: u32)
pub fn set_reserved(&mut self, val: u32)
RESERVED
Trait Implementations§
Source§impl Clone for TrngSwReset
impl Clone for TrngSwReset
Source§fn clone(&self) -> TrngSwReset
fn clone(&self) -> TrngSwReset
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 Debug for TrngSwReset
impl Debug for TrngSwReset
Source§impl Default for TrngSwReset
impl Default for TrngSwReset
Source§fn default() -> TrngSwReset
fn default() -> TrngSwReset
Returns the “default value” for a type. Read more
Source§impl PartialEq for TrngSwReset
impl PartialEq for TrngSwReset
impl Copy for TrngSwReset
impl Eq for TrngSwReset
impl StructuralPartialEq for TrngSwReset
Auto Trait Implementations§
impl Freeze for TrngSwReset
impl RefUnwindSafe for TrngSwReset
impl Send for TrngSwReset
impl Sync for TrngSwReset
impl Unpin for TrngSwReset
impl UnwindSafe for TrngSwReset
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