Struct RngcontrolControl
#[repr(transparent)]pub struct RngcontrolControl(pub u32);Expand description
Control register
Tuple Fields§
§0: u32Implementations§
§impl RngcontrolControl
impl RngcontrolControl
pub const fn set_enable(&mut self, val: bool)
pub const fn set_enable(&mut self, val: bool)
Start the NDRNG. Self-clearing bit.
pub const fn lfsren(&self) -> bool
pub const fn lfsren(&self) -> bool
Select between the NDRNG with asynchronous free running oscillators (when 0) and the Pseudo-Random generator with synchronous oscillators for simulation purpose (when 1).
pub const fn set_lfsren(&mut self, val: bool)
pub const fn set_lfsren(&mut self, val: bool)
Select between the NDRNG with asynchronous free running oscillators (when 0) and the Pseudo-Random generator with synchronous oscillators for simulation purpose (when 1).
pub const fn set_testen(&mut self, val: Testen)
pub const fn set_testen(&mut self, val: Testen)
Select input for conditioning function and continuous tests:
pub const fn condbypass(&self) -> Condbypass
pub const fn condbypass(&self) -> Condbypass
Conditioning function bypass.
pub const fn set_condbypass(&mut self, val: Condbypass)
pub const fn set_condbypass(&mut self, val: Condbypass)
Conditioning function bypass.
pub const fn set_intenrep(&mut self, val: bool)
pub const fn set_intenrep(&mut self, val: bool)
Enable interrupt if any of the health test fails.
pub const fn set_intenfull(&mut self, val: bool)
pub const fn set_intenfull(&mut self, val: bool)
Enable interrupt if FIFO is full.
pub const fn set_softrst(&mut self, val: bool)
pub const fn set_softrst(&mut self, val: bool)
Datapath content flush and control FSM
pub const fn forceactiveros(&self) -> bool
pub const fn forceactiveros(&self) -> bool
Force oscillators to run when FIFO is full.
pub const fn set_forceactiveros(&mut self, val: bool)
pub const fn set_forceactiveros(&mut self, val: bool)
Force oscillators to run when FIFO is full.
pub const fn ignorehealthtestsfailforfsm(&self) -> bool
pub const fn ignorehealthtestsfailforfsm(&self) -> bool
Results of the health tests during start-up and online test do not affect the control FSM state.
pub const fn set_ignorehealthtestsfailforfsm(&mut self, val: bool)
pub const fn set_ignorehealthtestsfailforfsm(&mut self, val: bool)
Results of the health tests during start-up and online test do not affect the control FSM state.
pub const fn nb128bitblocks(&self) -> u8
pub const fn nb128bitblocks(&self) -> u8
Number of 128 bit blocks used in conditioning (AES-CBC-MAC) post-processing.
pub const fn set_nb128bitblocks(&mut self, val: u8)
pub const fn set_nb128bitblocks(&mut self, val: u8)
Number of 128 bit blocks used in conditioning (AES-CBC-MAC) post-processing.
pub const fn fifowritestartup(&self) -> bool
pub const fn fifowritestartup(&self) -> bool
Enable write of the samples in the FIFO during start-up.
pub const fn set_fifowritestartup(&mut self, val: bool)
pub const fn set_fifowritestartup(&mut self, val: bool)
Enable write of the samples in the FIFO during start-up.
pub const fn disrepettests(&self) -> bool
pub const fn disrepettests(&self) -> bool
All repetition tests (each share) are disabled via this single bit.
pub const fn set_disrepettests(&mut self, val: bool)
pub const fn set_disrepettests(&mut self, val: bool)
All repetition tests (each share) are disabled via this single bit.
pub const fn disproptests(&self) -> bool
pub const fn disproptests(&self) -> bool
All proportion tests (each share) are disabled via this single bit.
pub const fn set_disproptests(&mut self, val: bool)
pub const fn set_disproptests(&mut self, val: bool)
All proportion tests (each share) are disabled via this single bit.
pub const fn disautocorrtests(&self) -> u8
pub const fn disautocorrtests(&self) -> u8
Disable specific delay(s) check in auto-correlation test - same RO:
pub const fn set_disautocorrtests(&mut self, val: u8)
pub const fn set_disautocorrtests(&mut self, val: u8)
Disable specific delay(s) check in auto-correlation test - same RO:
pub const fn discorrtests(&self) -> u8
pub const fn discorrtests(&self) -> u8
Disable specific delay(s) check in correlation test - different ROs:
pub const fn set_discorrtests(&mut self, val: u8)
pub const fn set_discorrtests(&mut self, val: u8)
Disable specific delay(s) check in correlation test - different ROs:
pub const fn blendingmethod(&self) -> Blendingmethod
pub const fn blendingmethod(&self) -> Blendingmethod
Select blending method
pub const fn set_blendingmethod(&mut self, val: Blendingmethod)
pub const fn set_blendingmethod(&mut self, val: Blendingmethod)
Select blending method
Trait Implementations§
§impl Clone for RngcontrolControl
impl Clone for RngcontrolControl
§fn clone(&self) -> RngcontrolControl
fn clone(&self) -> RngcontrolControl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more