Struct rp_pac::trng::regs::RstBitsCounter
source · #[repr(transparent)]pub struct RstBitsCounter(pub u32);
Expand description
Reset the counter of collected bits in the RNG.
Tuple Fields§
§0: u32
Implementations§
source§impl RstBitsCounter
impl RstBitsCounter
sourcepub const fn rst_bits_counter(&self) -> bool
pub const fn rst_bits_counter(&self) -> bool
Writing any value to this address will reset the bits counter and RNG valid registers. RND_SORCE_ENABLE register must be unset in order for the reset to take place.
sourcepub fn set_rst_bits_counter(&mut self, val: bool)
pub fn set_rst_bits_counter(&mut self, val: bool)
Writing any value to this address will reset the bits counter and RNG valid registers. RND_SORCE_ENABLE register must be unset in order for the reset to take place.
sourcepub fn set_reserved(&mut self, val: u32)
pub fn set_reserved(&mut self, val: u32)
RESERVED
Trait Implementations§
source§impl Clone for RstBitsCounter
impl Clone for RstBitsCounter
source§fn clone(&self) -> RstBitsCounter
fn clone(&self) -> RstBitsCounter
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 RstBitsCounter
impl Default for RstBitsCounter
source§fn default() -> RstBitsCounter
fn default() -> RstBitsCounter
Returns the “default value” for a type. Read more
source§impl PartialEq for RstBitsCounter
impl PartialEq for RstBitsCounter
impl Copy for RstBitsCounter
impl Eq for RstBitsCounter
impl StructuralPartialEq for RstBitsCounter
Auto Trait Implementations§
impl Freeze for RstBitsCounter
impl RefUnwindSafe for RstBitsCounter
impl Send for RstBitsCounter
impl Sync for RstBitsCounter
impl Unpin for RstBitsCounter
impl UnwindSafe for RstBitsCounter
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
)