Struct nrf52810_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