Struct nrf52::trng::RngRegisters

source ·
#[repr(C)]
pub struct RngRegisters { pub task_start: WriteOnly<u32, Register>, pub task_stop: WriteOnly<u32, Register>, pub event_valrdy: ReadWrite<u32, Register>, pub shorts: ReadWrite<u32, Register>, pub intenset: ReadWrite<u32, Register>, pub intenclr: ReadWrite<u32, Register>, pub config: ReadWrite<u32, Register>, pub value: ReadOnly<u32, Register>, /* private fields */ }

Fields§

§task_start: WriteOnly<u32, Register>

Task starting the random number generator Address: 0x000 - 0x004

§task_stop: WriteOnly<u32, Register>

Task stopping the random number generator Address: 0x004 - 0x008

§event_valrdy: ReadWrite<u32, Register>

Event being generated for every new random number written to the VALUE register Address: 0x100 - 0x104

§shorts: ReadWrite<u32, Register>

Shortcut register Address: 0x200 - 0x204

§intenset: ReadWrite<u32, Register>

Enable interrupt Address: 0x304 - 0x308

§intenclr: ReadWrite<u32, Register>

Disable interrupt Address: 0x308 - 0x30c

§config: ReadWrite<u32, Register>

Configuration register Address: 0x504 - 0x508

§value: ReadOnly<u32, Register>

Output random number Address: 0x508 - 0x50c

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> SizedTypeProperties for T

source§

#[doc(hidden)] const IS_ZST: bool = _

🔬This is a nightly-only experimental API. (sized_type_properties)
true if this type requires no storage. false if its size is greater than zero. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.