#[repr(transparent)]pub struct TrngValid(pub u32);
Expand description
192 bit collection indication.
Tuple Fields§
§0: u32
Implementations§
Source§impl TrngValid
impl TrngValid
Sourcepub const fn ehr_valid(&self) -> bool
pub const fn ehr_valid(&self) -> bool
1’b1 indicates that collection of bits in the RNG is completed, and data can be read from EHR_DATA register.
Sourcepub fn set_ehr_valid(&mut self, val: bool)
pub fn set_ehr_valid(&mut self, val: bool)
1’b1 indicates that collection of bits in the RNG is completed, and data can be read from EHR_DATA register.
Sourcepub fn set_reserved(&mut self, val: u32)
pub fn set_reserved(&mut self, val: u32)
RESERVED
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