55 #ifndef ti_drivers_TRNG_TRNGCC26X0__include 56 #define ti_drivers_TRNG_TRNGCC26X0__include 69 #include <ti/drivers/dpl/HwiP.h> 70 #include <ti/drivers/dpl/SwiP.h> 71 #include <ti/drivers/dpl/SemaphoreP.h> 74 #define TRNGCC26X0_SAMPLES_PER_CYCLE_MIN 256 78 #define TRNGCC26X0_SAMPLES_PER_CYCLE_DEFAULT 240000 80 #define TRNGCC26X0_SAMPLES_PER_CYCLE_MAX 16777216 uint32_t samplesPerCycle
Definition: TRNGCC26X0.h:130
enum TRNG_ReturnBehavior_ TRNG_ReturnBehavior
The way in which TRNG function calls return after generating the requested entropy.
The CryptoKey type is an opaque representation of a cryptographic key.
int_fast16_t returnStatus
Definition: TRNGCC26X0.h:124
uint8_t * entropyBuffer
Definition: TRNGCC26X0.h:128
CryptoKey datastructure.
Definition: CryptoKey.h:210
CryptoKey * entropyKey
Definition: TRNGCC26X0.h:129
uint32_t swiPriority
TRNG SWI priority. The higher the number, the higher the priority. The minimum is 0 and the maximum i...
Definition: TRNGCC26X0.h:107
TRNG_ReturnBehavior returnBehavior
Definition: TRNGCC26X0.h:123
TRNGCC26XX Object.
Definition: TRNGCC26X0.h:121
uint8_t intPriority
Crypto Peripheral's interrupt priority.
Definition: TRNGCC26X0.h:101
uint32_t semaphoreTimeout
Definition: TRNGCC26X0.h:127
int_fast16_t TRNGCC26X0_setSamplesPerCycle(TRNG_Handle handle, uint32_t samplesPerCycle)
Sets the number of entropy generation cycles before the results are returned.
size_t entropyGenerated
Definition: TRNGCC26X0.h:125
bool isOpen
Definition: TRNGCC26X0.h:122
uint32_t samplesPerCycle
TRNG Maximum Samples per Cycle. Changes the maximum number of randomness samples in each entropy gene...
Definition: TRNGCC26X0.h:113
SwiP_Struct callbackSwi
Definition: TRNGCC26X0.h:132
TRNG Global configuration.
Definition: TRNG.h:395
TRNGCC26X0 Hardware Attributes.
Definition: TRNGCC26X0.h:88
struct TRNGCC26X0_HWAttrs TRNGCC26X0_HWAttrs
TRNGCC26X0 Hardware Attributes.
void(* TRNG_CallbackFxn)(TRNG_Handle handle, int_fast16_t returnValue, CryptoKey *entropy)
The definition of a callback function used by the TRNG driver when used in TRNG_RETURN_BEHAVIOR_CALLB...
Definition: TRNG.h:414
TRNG_CallbackFxn callbackFxn
Definition: TRNGCC26X0.h:131
struct TRNGCC26X0_Object TRNGCC26X0_Object
TRNGCC26XX Object.
size_t entropyRequested
Definition: TRNGCC26X0.h:126