#[repr(C)]
pub struct RegisterBlock { pub tasks_start: TASKS_START, pub tasks_stop: TASKS_STOP, pub events_valrdy: EVENTS_VALRDY, pub shorts: SHORTS, pub intenset: INTENSET, pub intenclr: INTENCLR, pub config: CONFIG, pub value: VALUE, /* private fields */ }
Expand description

Register block

Fields

tasks_start: TASKS_START

0x00 - Task starting the random number generator

tasks_stop: TASKS_STOP

0x04 - Task stopping the random number generator

events_valrdy: EVENTS_VALRDY

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

shorts: SHORTS

0x200 - Shortcut register

intenset: INTENSET

0x304 - Enable interrupt

intenclr: INTENCLR

0x308 - Disable interrupt

config: CONFIG

0x504 - Configuration register

value: VALUE

0x508 - Output random number

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.