Example: Program RXFIFO Watermark Interrupt (12)

Zynq UltraScale+ Device Technical Reference Manual (UG1085)

Document ID
UG1085
Release Date
2023-12-21
Revision
2.4 English

The following steps can be used to setup and control the RXFIFO watermark interrupt. See This Figure. The watermark status and control interrupts are described in the Protocol Engine section.

1.Disable the RXFIFO watermark interrupt. Write a 0 to can.IER[12].

2.Program the RXFIFO full watermark level. Write to can.WIR[FW].

3.Clear the RXFIFO watermark interrupt. Write a 1 to can.ICR[12].

4.Read the RXFIFO watermark status. Read can.ISR[12].

5.Enable the RXFIFO watermark interrupt. Write a 1 to can.IER[12].