nrf-pac

Crates

0.1.0

Versions

nrf52840

Flavors

Module regs

Source

Structsยง

AutocorrStatistic
Statistics counter for autocorrelation test activations. Statistics collection is stopped if one of the counters reach its limit of all ones.
NoiseSource
This register controls the ring oscillator circuit used as a noise source.
RngBusy
Status register for RNG engine activity.
RngClk
Control clock for the RNG engine.
RngDma
Writing to this register enables the RNG DMA engine.
RngDmaBusy
Status register for RNG DMA engine activity.
RngDmaRoscLen
This register defines which ring oscillator length configuration should be used when using the RNG DMA engine.
RngDmaSamplesNum
This register defines the number of 192-bits samples that the RNG DMA engine collects per run.
RngDmaSramAddr
This register defines the start address in TRNG SRAM for the TRNG data to be collected by the RNG DMA engine.
RngHwFlags
Hardware configuration of RNG engine. Reset value holds the supported features.
RngIcr
Interrupt clear register. Writing a 1 bit into a field in this register will clear the corresponding bit in RNG_ISR.
RngImr
Interrupt mask register. Each bit of this register holds the mask of a single interrupt source.
RngIsr
Interrupt status register. Each bit of this register holds the interrupt status of a single interrupt source. If corresponding RNG_IMR bit is unmasked, an interrupt is generated.
RngSwReset
Reset the RNG engine.
TrngConfig
TRNG ring oscillator length configuration
TrngDebug
Debug register for the TRNG. This register is used to bypass TRNG tests in hardware.
TrngReset
Reset the TRNG, including internal counter of collected bits and registers EHR_DATA and TRNG_VALID.
TrngValid
This register indicates if TRNG entropy collection is valid.