Trident IoT SDK
 
Loading...
Searching...
No Matches
T32CM11_trng.h File Reference

This is the chip specific include file for T32CM11 True Random Number Generator (TRNG). Note that there is a common include file for this HAL module that contains the APIs that should be used by the application. More...

#include "tr_hal_platform.h"
+ Include dependency graph for T32CM11_trng.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TRNG_ENABLE   0x01
 
#define TRNG_CLEAR_INTERRUPT   0x02
 
#define TRNG_CORRECTION_VON_NEUMANN   0x00
 
#define TRNG_CORRECTION_XOR   0x01
 
#define TRNG_INTERRUPT_ENABLE   0x02
 
#define TRNG_INTERRUPT_DISABLE   0x00
 
#define TRNG_STATUS_BUSY   0x01
 
#define TRNG_STATUS_INTERRUPT_PENDING   0x02
 
#define TRNG_TIMEOUT_COUNT   20000
 

Functions

tr_hal_status_t tr_hal_trng_read_internal (uint32_t *result, uint32_t *busy_cycles)
 

Detailed Description

This is the chip specific include file for T32CM11 True Random Number Generator (TRNG). Note that there is a common include file for this HAL module that contains the APIs that should be used by the application.


SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2025 Trident IoT, LLC https://www.tridentiot.com