Struct nrf5340_net_pac::rng_ns::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock { pub tasks_start: Reg<TASKS_START_SPEC>, pub tasks_stop: Reg<TASKS_STOP_SPEC>, pub subscribe_start: Reg<SUBSCRIBE_START_SPEC>, pub subscribe_stop: Reg<SUBSCRIBE_STOP_SPEC>, pub events_valrdy: Reg<EVENTS_VALRDY_SPEC>, pub publish_valrdy: Reg<PUBLISH_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
subscribe_start: Reg<SUBSCRIBE_START_SPEC>
0x80 - Subscribe configuration for task START
subscribe_stop: Reg<SUBSCRIBE_STOP_SPEC>
0x84 - Subscribe configuration for task STOP
events_valrdy: Reg<EVENTS_VALRDY_SPEC>
0x100 - Event being generated for every new random number written to the VALUE register
publish_valrdy: Reg<PUBLISH_VALRDY_SPEC>
0x180 - Publish configuration for event VALRDY
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