#[repr(transparent)]pub struct TrngValid(pub u32);
Expand description
This register indicates if TRNG entropy collection is valid.
Tuple Fields§
§0: u32
Implementations§
Source§impl TrngValid
impl TrngValid
Sourcepub const fn ehr_data(&self) -> bool
pub const fn ehr_data(&self) -> bool
A value of 1 indicates that collection of bits in the TRNG is completed, and data can be read from EHR_DATA registers.
Sourcepub fn set_ehr_data(&mut self, val: bool)
pub fn set_ehr_data(&mut self, val: bool)
A value of 1 indicates that collection of bits in the TRNG is completed, and data can be read from EHR_DATA registers.
Trait Implementations§
impl Copy for TrngValid
impl Eq for TrngValid
impl StructuralPartialEq for TrngValid
Auto Trait Implementations§
impl Freeze for TrngValid
impl RefUnwindSafe for TrngValid
impl Send for TrngValid
impl Sync for TrngValid
impl Unpin for TrngValid
impl UnwindSafe for TrngValid
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
)