3. Fifo_request_it

3.1. Function description:

This demo shows how to trigger fifo write require interrupt.

  • Enable global interrupt & register HASH interrupt.

  • Enable the related interrupt.

  • Configure the HASH, enable hash and write fifo normally will trigger the interrupt.

  • Waiting trigger the related interrupt and enter interrupt serve function.

3.2. Main configuration:

Algorithm

Mode

DMA

Data Type

sha1

hash

disable

no swap

3.3. Test result:

If successfully trigger and enter interrupt service routine, then print pass, if not print fail.

3.4. IO connection:

None