WB_I2S - Interrupt Generation
Frozen Content
The WB_I2S Controller has a single interrupt line (INT_O) that is shared by both the Transmitter and Receiver sections. Interrupt generation is essentially determined by the value defined for watermark
, in the Control register (CONTROL31..16).
The INT_O signal is made active (taken High) under the following two circumstances:
- The Transmit Buffer is running empty. When the number of remaining data words that can be transmitted is below the
watermark
value, thetxw
status flag (STATUS.3) will be set. An interrupt will only be generated provided the corresponding interrupt enable bit –txie
– is also set in the Mode register (MODE.13).
- The Receive Buffer is running full. When the number of remaining data words that can be received is below the
watermark
value, therxw
status flag (STATUS.7) will be set. An interrupt will only be generated provided the corresponding interrupt enable bit –rxie
– is also set in the Mode register (MODE.14).