SHA2CC26XX Hardware Attributes. More...
#include <SHA2CC26X2.h>
Data Fields | |
uint8_t | intPriority |
Crypto Peripheral's interrupt priority. More... | |
uint32_t | swiPriority |
SHA2 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... | |
SHA2CC26XX Hardware Attributes.
SHA226XX hardware attributes should be included in the board file and pointed to by the SHA2_config struct.
uint8_t SHA2CC26X2_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 SHA2CC26X2_HWAttrs_::swiPriority |
SHA2 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.