TRNGCC26X2 Hardware Attributes. More...
#include <TRNGCC26X2.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... | |
TRNGCC26X2 Hardware Attributes.
TRNG26X2 hardware attributes should be included in the board file and pointed to by the TRNG_config struct.
uint8_t TRNGCC26X2_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 TRNGCC26X2_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.