#[repr(transparent)]pub struct RngDmaSamplesNum(pub u32);
Expand description
This register defines the number of 192-bits samples that the RNG DMA engine collects per run.
Tuple Fields§
§0: u32
Implementations§
Source§impl RngDmaSamplesNum
impl RngDmaSamplesNum
Sourcepub const fn rng_samples_num(&self) -> u8
pub const fn rng_samples_num(&self) -> u8
Defines the number of 192-bits samples that the DMA engine collects per run.
Sourcepub fn set_rng_samples_num(&mut self, val: u8)
pub fn set_rng_samples_num(&mut self, val: u8)
Defines the number of 192-bits samples that the DMA engine collects per run.
Trait Implementations§
Source§impl Clone for RngDmaSamplesNum
impl Clone for RngDmaSamplesNum
Source§fn clone(&self) -> RngDmaSamplesNum
fn clone(&self) -> RngDmaSamplesNum
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 RngDmaSamplesNum
impl Default for RngDmaSamplesNum
Source§fn default() -> RngDmaSamplesNum
fn default() -> RngDmaSamplesNum
Returns the “default value” for a type. Read more
Source§impl PartialEq for RngDmaSamplesNum
impl PartialEq for RngDmaSamplesNum
impl Copy for RngDmaSamplesNum
impl Eq for RngDmaSamplesNum
impl StructuralPartialEq for RngDmaSamplesNum
Auto Trait Implementations§
impl Freeze for RngDmaSamplesNum
impl RefUnwindSafe for RngDmaSamplesNum
impl Send for RngDmaSamplesNum
impl Sync for RngDmaSamplesNum
impl Unpin for RngDmaSamplesNum
impl UnwindSafe for RngDmaSamplesNum
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
)