Struct HealthOsc2Cr
#[repr(transparent)]pub struct HealthOsc2Cr(pub u32);Expand description
HEALTH_OSC2_CR register.
Tuple Fields§
§0: u32Implementations§
§impl HealthOsc2Cr
impl HealthOsc2Cr
pub const fn repet_cutoff_osc2(&self) -> u8
pub const fn repet_cutoff_osc2(&self) -> u8
Cutoff value of Repetition Test. The default value is set to 51. Caution: To be handled with care as any change can lead to misbehavior of TRNG.
pub fn set_repet_cutoff_osc2(&mut self, val: u8)
pub fn set_repet_cutoff_osc2(&mut self, val: u8)
Cutoff value of Repetition Test. The default value is set to 51. Caution: To be handled with care as any change can lead to misbehavior of TRNG.
pub const fn adap_cutoff_osc2(&self) -> u16
pub const fn adap_cutoff_osc2(&self) -> u16
Cutoff value of Adaptive Test. The default value is set to 699. Caution: To be handled with care as any change can lead to misbehavior of TRNG.
pub fn set_adap_cutoff_osc2(&mut self, val: u16)
pub fn set_adap_cutoff_osc2(&mut self, val: u16)
Cutoff value of Adaptive Test. The default value is set to 699. Caution: To be handled with care as any change can lead to misbehavior of TRNG.
Trait Implementations§
§impl Clone for HealthOsc2Cr
impl Clone for HealthOsc2Cr
§fn clone(&self) -> HealthOsc2Cr
fn clone(&self) -> HealthOsc2Cr
Returns a duplicate 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 more§impl Debug for HealthOsc2Cr
impl Debug for HealthOsc2Cr
§impl Default for HealthOsc2Cr
impl Default for HealthOsc2Cr
§fn default() -> HealthOsc2Cr
fn default() -> HealthOsc2Cr
Returns the “default value” for a type. Read more
§impl PartialEq for HealthOsc2Cr
impl PartialEq for HealthOsc2Cr
impl Copy for HealthOsc2Cr
impl Eq for HealthOsc2Cr
impl StructuralPartialEq for HealthOsc2Cr
Auto Trait Implementations§
impl Freeze for HealthOsc2Cr
impl RefUnwindSafe for HealthOsc2Cr
impl Send for HealthOsc2Cr
impl Sync for HealthOsc2Cr
impl Unpin for HealthOsc2Cr
impl UnwindSafe for HealthOsc2Cr
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