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... | |
TRNGCC26XX Hardware Attributes.
TRNG26X0 hardware attributes should be included in the board file and pointed to by the TRNG_config struct.
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.
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.
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.