![]() |
M480 BSP V3.05.006
The Board Support Package for M480 Series
|
TRNG driver header file. More...
Go to the source code of this file.
Macros | |
#define | TRNG_SET_CLKP(clkpsc) |
Let TRNG engine know the currrent PCLK frequency. The CLKPSC is the peripheral clock frequency range for the selected value , the CLKPSC setting must be higher than or equal to the actual peripheral clock frequency (for correct random generation). More... | |
Functions | |
int32_t | TRNG_Open (void) |
Initialize TRNG hardware. More... | |
int32_t | TRNG_GenWord (uint32_t *u32RndNum) |
Generate a 32-bits random number word. More... | |
int32_t | TRNG_GenBignum (uint8_t u8BigNum[], int32_t i32Len) |
Generate a big number in binary format. More... | |
int32_t | TRNG_GenBignumHex (char cBigNumHex[], int32_t i32Len) |
Generate a big number in hex format. More... | |
TRNG driver header file.
SPDX-License-Identifier: Apache-2.0
Definition in file trng.h.