Struct nrf52833_hal::pac::rng::RegisterBlock [−][src]
#[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>,
// some fields omitted
}
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
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Casts the value.
Casts the value.