[][src]Struct nrf52840_hal::target::rng::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub tasks_start: Reg<u32, _TASKS_START>,
    pub tasks_stop: Reg<u32, _TASKS_STOP>,
    pub events_valrdy: Reg<u32, _EVENTS_VALRDY>,
    pub shorts: Reg<u32, _SHORTS>,
    pub intenset: Reg<u32, _INTENSET>,
    pub intenclr: Reg<u32, _INTENCLR>,
    pub config: Reg<u32, _CONFIG>,
    pub value: Reg<u32, _VALUE>,
    // some fields omitted
}

Register block

Fields

tasks_start: Reg<u32, _TASKS_START>

0x00 - Task starting the random number generator

tasks_stop: Reg<u32, _TASKS_STOP>

0x04 - Task stopping the random number generator

events_valrdy: Reg<u32, _EVENTS_VALRDY>

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

shorts: Reg<u32, _SHORTS>

0x200 - Shortcut register

intenset: Reg<u32, _INTENSET>

0x304 - Enable interrupt

intenclr: Reg<u32, _INTENCLR>

0x308 - Disable interrupt

config: Reg<u32, _CONFIG>

0x504 - Configuration register

value: Reg<u32, _VALUE>

0x508 - Output random number

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.