R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

NRF_RNG_Type Struct Reference

NRF_RNG_Type Struct Reference

Random Number Generator. More...

#include <nrf51.h>

Data Fields

__O uint32_t TASKS_START
__O uint32_t TASKS_STOP
__IO uint32_t SHORTS
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__IO uint32_t CONFIG
__I uint32_t VALUE
__IO uint32_t POWER

Detailed Description

Random Number Generator.


Definition at line 770 of file nrf51.h.

Field Documentation

__IO uint32_t CONFIG

Configuration register.

Definition at line 781 of file nrf51.h.


New random number generated and written to VALUE register.

Definition at line 774 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register

Definition at line 779 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register

Definition at line 778 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 784 of file nrf51.h.

__IO uint32_t SHORTS

Shortcuts for the RNG.

Definition at line 776 of file nrf51.h.

__O uint32_t TASKS_START

< RNG Structure Start the random number generator.

Definition at line 771 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop the random number generator.

Definition at line 772 of file nrf51.h.

__I uint32_t VALUE

RNG random number.

Definition at line 782 of file nrf51.h.