pub struct RngConfig {
pub nistc: Nistc,
pub clkdiv: Clkdiv,
pub rng_config1: RngConfig1,
pub rng_config2: RngConfig2,
pub rng_config3: RngConfig3,
pub clock_error_detector: bool,
pub auto_reset_disable: bool,
pub config_lock: bool,
pub health_test_config: HealthTestConfig,
}Expand description
RNG configuration knobs for reset/initialization policy.
Fields§
§nistc: NistcNIST/custom conditioning mode selection.
clkdiv: ClkdivRNG clock divider before sampling.
rng_config1: RngConfig1RNG configuration 1 profile.
rng_config2: RngConfig2RNG configuration 2 profile.
rng_config3: RngConfig3RNG configuration 3 profile.
clock_error_detector: boolEnable clock error detector (CED bit, active-low semantics in HW).
auto_reset_disable: boolDisable automatic reset on seed error when supported (ARDIS bit).
config_lock: boolLock RNG configuration after setup.
health_test_config: HealthTestConfigHealth-test threshold programming behavior.
Trait Implementations§
impl Copy for RngConfig
impl Eq for RngConfig
impl StructuralPartialEq for RngConfig
Auto Trait Implementations§
impl Freeze for RngConfig
impl RefUnwindSafe for RngConfig
impl Send for RngConfig
impl Sync for RngConfig
impl Unpin for RngConfig
impl UnwindSafe for RngConfig
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§impl<T> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.