2. Fifo_full_it
2.1. Function description:
This demo shows how to trigger fifo full interrupt.
Enable global interrupt & register HASH interrupt.
Enable the related interrupt.
Configure the HASH, disable the hash but still writing data to fifo to trigger interrupt.
Waiting trigger the related interrupt and enter interrupt serve function.
2.2. Main configuration:
Algorithm |
Mode |
DMA |
Data Type |
sha1 |
hash |
disable |
no swap |
2.3. Test result:
If successfully trigger and enter interrupt service routine, then print pass, if not print fail.
2.4. IO connection:
None