True random number generator of the SF32LB52, behind rng_rand().
More...
True random number generator of the SF32LB52, behind rng_rand().
◆ pbl_rng_sf32lb
| Data Fields |
|
uintptr_t |
base |
Registers. |
|
struct pbl_clk |
clk |
Clock. |
|
struct pbl_device |
dev |
Device. |
◆ PBL_RNG_SF32LB_DEFINE
| #define PBL_RNG_SF32LB_DEFINE |
( |
|
sym, |
|
|
|
_name, |
|
|
|
_base, |
|
|
|
_clk |
|
) |
| |
Value:
PBL_DEVICE_REGISTER(sym##_inst, &sym##_inst.dev); \
.base = (_base), \
}
#define PBL_DEVICE_STATE_DEFINE(sym)
Define the runtime state of device instance sym.
Definition device.h:131
#define PBL_DEVICE_INIT(sym, _name, _init, _parent, _deps)
Initializer for the struct pbl_device of device instance sym.
Definition device.h:164
struct pbl_device dev
Device.
Definition sf32lb.h:21
struct pbl_clk clk
Clock.
Definition sf32lb.h:25
TRNG.
Definition sf32lb.h:19
A hardware device.
Definition device.h:89
Define the TRNG.
- Parameters
-
| sym | Symbol of the device. |
| _name | Name. |
| _base | Registers. |
| _clk | Clock, from PBL_CLK(). |