Struct rp_pac::trng::regs::TrngDebugControl
source · #[repr(transparent)]pub struct TrngDebugControl(pub u32);
Expand description
Debug register.
Tuple Fields§
§0: u32
Implementations§
source§impl TrngDebugControl
impl TrngDebugControl
sourcepub fn set_reserved(&mut self, val: bool)
pub fn set_reserved(&mut self, val: bool)
N/A
sourcepub const fn vnc_bypass(&self) -> bool
pub const fn vnc_bypass(&self) -> bool
When set, the Von-Neuman balancer is bypassed (including the 32 consecutive bits test).
sourcepub fn set_vnc_bypass(&mut self, val: bool)
pub fn set_vnc_bypass(&mut self, val: bool)
When set, the Von-Neuman balancer is bypassed (including the 32 consecutive bits test).
sourcepub const fn trng_crngt_bypass(&self) -> bool
pub const fn trng_crngt_bypass(&self) -> bool
When set, the CRNGT test in the RNG is bypassed.
sourcepub fn set_trng_crngt_bypass(&mut self, val: bool)
pub fn set_trng_crngt_bypass(&mut self, val: bool)
When set, the CRNGT test in the RNG is bypassed.
sourcepub const fn auto_correlate_bypass(&self) -> bool
pub const fn auto_correlate_bypass(&self) -> bool
When set, the autocorrelation test in the TRNG module is bypassed.
sourcepub fn set_auto_correlate_bypass(&mut self, val: bool)
pub fn set_auto_correlate_bypass(&mut self, val: bool)
When set, the autocorrelation test in the TRNG module is bypassed.
Trait Implementations§
source§impl Clone for TrngDebugControl
impl Clone for TrngDebugControl
source§fn clone(&self) -> TrngDebugControl
fn clone(&self) -> TrngDebugControl
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 TrngDebugControl
impl Default for TrngDebugControl
source§fn default() -> TrngDebugControl
fn default() -> TrngDebugControl
Returns the “default value” for a type. Read more
source§impl PartialEq for TrngDebugControl
impl PartialEq for TrngDebugControl
impl Copy for TrngDebugControl
impl Eq for TrngDebugControl
impl StructuralPartialEq for TrngDebugControl
Auto Trait Implementations§
impl Freeze for TrngDebugControl
impl RefUnwindSafe for TrngDebugControl
impl Send for TrngDebugControl
impl Sync for TrngDebugControl
impl Unpin for TrngDebugControl
impl UnwindSafe for TrngDebugControl
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
)