#[repr(C)]
pub struct RegisterBlock { pub tasks_start: Reg<TASKS_START_SPEC>, pub tasks_stop: Reg<TASKS_STOP_SPEC>, pub events_valrdy: Reg<EVENTS_VALRDY_SPEC>, pub shorts: Reg<SHORTS_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub config: Reg<CONFIG_SPEC>, pub value: Reg<VALUE_SPEC>, /* private fields */ }
Expand description

Register block

Fields

tasks_start: Reg<TASKS_START_SPEC>

0x00 - Task starting the random number generator

tasks_stop: Reg<TASKS_STOP_SPEC>

0x04 - Task stopping the random number generator

events_valrdy: Reg<EVENTS_VALRDY_SPEC>

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

shorts: Reg<SHORTS_SPEC>

0x200 - Shortcuts between local events and tasks

intenset: Reg<INTENSET_SPEC>

0x304 - Enable interrupt

intenclr: Reg<INTENCLR_SPEC>

0x308 - Disable interrupt

config: Reg<CONFIG_SPEC>

0x504 - Configuration register

value: Reg<VALUE_SPEC>

0x508 - Output random number

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Returns the argument unchanged.

Calls U::from(self).

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

Performs the conversion.

Performs the conversion.

Casts the value.

OverflowingCasts the value.

Should always be Self

Casts the value.

Casts the value.

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.

Casts the value.

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.