| M480 BSP V3.05.001 The Board Support Package for M480 Series

Macros | Functions
trng.h File Reference

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
void | 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...

## Detailed Description

TRNG driver header file.

Version
  V1.10 SPDX-License-Identifier: Apache-2.0

Copyright
  (C) 2016-2020 Nuvoton Technology Corp. All rights reserved.

Definition in file trng.h.