The 9 registers of RNG (Random number generator), from 0xBF8E6000, with their reset value and every field. The PIC32MZ2064DAL176 has 2254 registers in 102 peripherals, one page each.
Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.
RNG Random number generator
RNGVERRandom Number Generator Version Register
Address
0xBF8E6000
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
Field
Bits
What it does
VERSION
15:7
REVISION
6:0
ID
31:16
RNGCONRandom Number Generator Control Register
Address
0xBF8E6004
Reset
0x00000040
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
LOAD
12
TRNGMODE
11
TRNG Mode Selection bit
0 Use ring oscillators with XOR tree
1 Use ring oscillators with bias corrector
CONT
10
PRNG Number Shift Enable bit
0 The PRNG random number is shifted when the previous value is removed
1 The PRNG random number is shifted every cycle
PRNGEN
9
PRNG Operation Enable bit
0 PRNG operation is not enabled
1 PRNG operation is enabled
TRNGEN
8
TRNG Operation Enable bit
0 TRNG operation is not enabled
1 TRNG operation is enabled
PLEN
7:0
PRNG Polynomial Length bits
RNGPOLY1Random Number Generator Polynomial Register x (x = 1 or 2
Address
0xBF8E6008
Reset
0xFFFF0000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
POLY
31:0
RNGPOLY2Random Number Generator Polynomial Register x (x = 1 or 2)
Address
0xBF8E600C
Reset
0xFFFF0000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
POLY
31:0
RNGNUMGEN1Random Number Generator Register x (x = 1 or 2)
Address
0xBF8E6010
Reset
0xFFFFFFFF
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
RNG
31:0
RNGNUMGEN2Random Number Generator Register x (x = 1 or 2)
Address
0xBF8E6014
Reset
0xFFFFFFFF
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
RNG
31:0
RNGSEED1True Random Number Generator Seed Register x (x = 1 or 2
Address
0xBF8E6018
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
SEED
31:0
RNGSEED2True Random Number Generator Seed Register x (x = 1 or 2