Documentation ¶
Overview ¶
Package rngb implements a driver for the NXP True Random Number Generator (RNGB) adopting the following specifications:
- IMX6ULLRM - i.MX 6ULL Applications Processor Reference Manual - Rev 1 2017/11
This package is only meant to be used with `GOOS=tamago GOARCH=arm` as supported by the TamaGo framework for bare metal Go on ARM SoCs, see https://github.com/usbarmory/tamago.
Index ¶
Constants ¶
View Source
const ( RNG_CMD = 0x04 RNG_CMD_SR = 6 RNG_CMD_CE = 5 RNG_CMD_CI = 4 RNG_CMD_GS = 1 RNG_CMD_ST = 0 RNG_CR = 0x08 RNG_CR_AR = 4 RNG_CR_GS = 1 RNG_SR = 0x0c RNG_SR_ST_PF = 21 RNG_SR_ERR = 16 RNG_SR_FIFO_LVL = 8 RNG_SR_SDN = 5 RNG_SR_STDN = 4 RNG_ESR = 0x10 RNG_OUT = 0x14 )
RNGB registers
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.