Struct rp_pac::trng::regs::RndSourceEnable
source · #[repr(transparent)]pub struct RndSourceEnable(pub u32);
Expand description
Enable signal for the random source.
Tuple Fields§
§0: u32
Implementations§
source§impl RndSourceEnable
impl RndSourceEnable
sourcepub const fn rnd_src_en(&self) -> bool
pub const fn rnd_src_en(&self) -> bool
- 1’b1 - entropy source is enabled. *1’b0 - entropy source is disabled
sourcepub fn set_rnd_src_en(&mut self, val: bool)
pub fn set_rnd_src_en(&mut self, val: bool)
- 1’b1 - entropy source is enabled. *1’b0 - entropy source is disabled
sourcepub fn set_reserved(&mut self, val: u32)
pub fn set_reserved(&mut self, val: u32)
RESERVED
Trait Implementations§
source§impl Clone for RndSourceEnable
impl Clone for RndSourceEnable
source§fn clone(&self) -> RndSourceEnable
fn clone(&self) -> RndSourceEnable
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 RndSourceEnable
impl Default for RndSourceEnable
source§fn default() -> RndSourceEnable
fn default() -> RndSourceEnable
Returns the “default value” for a type. Read more
source§impl PartialEq for RndSourceEnable
impl PartialEq for RndSourceEnable
impl Copy for RndSourceEnable
impl Eq for RndSourceEnable
impl StructuralPartialEq for RndSourceEnable
Auto Trait Implementations§
impl Freeze for RndSourceEnable
impl RefUnwindSafe for RndSourceEnable
impl Send for RndSourceEnable
impl Sync for RndSourceEnable
impl Unpin for RndSourceEnable
impl UnwindSafe for RndSourceEnable
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
)