Data Fields
TRNGCC26XX_HWAttrs Struct Reference

TRNGCC26XX Hardware Attributes. More...

#include <TRNGCC26XX.h>

Data Fields

uint8_t intPriority
 Crypto Peripheral's interrupt priority. More...
 
uint32_t swiPriority
 TRNG SWI priority. The higher the number, the higher the priority. The minimum is 0 and the maximum is 15 by default. The maximum can be reduced to save RAM by adding or modifying Swi.numPriorities in the kernel configuration file. More...
 
uint32_t samplesPerCycle
 TRNG Maximum Samples per Cycle. Changes the maximum number of randomness samples in each entropy generation cycle before dump and interrupt. The minimum is 2^8 (256) and the maximum is 2^24 (16777216). The default is 240000 - enough to generate 64 bits of randomness at 5MHz. More...
 

Detailed Description

TRNGCC26XX Hardware Attributes.

TRNG26X0 hardware attributes should be included in the board file and pointed to by the TRNG_config struct.

Field Documentation

§ intPriority

uint8_t TRNGCC26XX_HWAttrs::intPriority

Crypto Peripheral's interrupt priority.

The CC26xx uses three of the priority bits, meaning ~0 has the same effect as (7 << 5).

(7 << 5) will apply the lowest priority.

(1 << 5) will apply the highest priority.

Setting the priority to 0 is not supported by this driver.

HWI's with priority 0 ignore the HWI dispatcher to support zero-latency interrupts, thus invalidating the critical sections in this driver.

§ swiPriority

uint32_t TRNGCC26XX_HWAttrs::swiPriority

TRNG SWI priority. The higher the number, the higher the priority. The minimum is 0 and the maximum is 15 by default. The maximum can be reduced to save RAM by adding or modifying Swi.numPriorities in the kernel configuration file.

§ samplesPerCycle

uint32_t TRNGCC26XX_HWAttrs::samplesPerCycle

TRNG Maximum Samples per Cycle. Changes the maximum number of randomness samples in each entropy generation cycle before dump and interrupt. The minimum is 2^8 (256) and the maximum is 2^24 (16777216). The default is 240000 - enough to generate 64 bits of randomness at 5MHz.


The documentation for this struct was generated from the following file:
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale