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

Macros
TRNG Exported Macros
Standard Driver » TRNG Driver

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

## Detailed Description

## Macro Definition Documentation

## ◆ TRNG_SET_CLKP

#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).

Parameters

  clkpsc | 0: PCLK is 80~100 MHz 1: PCLK is 60~80 MHz 2: PCLK is 50~60 MHz 3: PCLK is 40~50 MHz 4: PCLK is 30~40 MHz 5: PCLK is 25~30 MHz 6: PCLK is 20~25 MHz 7: PCLK is 15~20 MHz 8: PCLK is 12~15 MHz 9: PCLK is 9~12 MHz

Returns
  None

Definition at line 52 of file trng.h.