4. Fifo_timeout_it
4.1. Function description:
This demo shows how to trigger fifo require data without ack timeout interrupt.
Enable global interrupt & register HASH interrupt.
Enable the related interrupt.
Configure the HASH and enable hash but don’t write fifo untill timeout will trigger the interrupt.
Waiting trigger the related interrupt and enter interrupt serve function.
4.2. Main configuration:
Algorithm |
Mode |
DMA |
Data Type |
sha1 |
hash |
disable |
no swap |
4.3. Test result:
If successfully trigger and enter interrupt service routine, then print pass, if not print fail.
4.4. IO connection:
None