Jump to main content

##

# 2.96.2 RNG_TrngEnable Function

## C

    void RNG_TrngEnable (void);

## Summary

Enables the TRNG block inside the RNG peripheral

## Description

This function triggers TRNG to generate a true random number.

## Precondition

RNG_Initialize must have been called before using this function.

## Parameters

None.

## Returns

None.

## Example

    RNG_TrngEnable();

## Remarks

The RNG_TrngDisable() function can be used to stop the TRNG operation.