from bbc microbit library

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

NRF_RNG_Type Struct Reference

NRF_RNG_Type Struct Reference
[Device_Peripheral_Registers]

Random Number Generator. More...

#include <nrf51.h>

Data Fields

__O uint32_t TASKS_START
__O uint32_t TASKS_STOP
__IO uint32_t EVENTS_VALRDY
__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.

(RNG)

Definition at line 770 of file nrf51.h.


Field Documentation

__IO uint32_t CONFIG

Configuration register.

Definition at line 781 of file nrf51.h.

__IO uint32_t EVENTS_VALRDY

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.