![Wolfson WM8804 Скачать руководство пользователя страница 40](http://html1.mh-extra.com/html/wolfson/wm8804/wm8804_manual_993773040.webp)
WM8804
Production Data
w
PD Rev 4.1 September 2007
40
INTERRUPT GENERATION
The INT_N flag indicates that a change of status has occurred on one or more of the UNLOCK,
INVALID, TRANS_ERR, CSUD, NON_AUDIO, CPY_N, REC_FREQ or DEEMPH status flags. To
identify which flag caused the interrupt, the Interrupt Status Register (INTSTAT) must be read.
INVALID and TRANS_ERR are level sensitive interrupts. When these signals are high an interrupt
will be generated. The interrupt can be cleared by reading the interrupt status register, however, the
interrupt will re-assert if the signal is still high. CSUD and REC_FREQ will generate an interrupt on a
low to high transition and can be cleared by reading the interrupt status register. Once clear the
interrupt will not re-assert until another low to high transition occurs. NON_AUDIO, CPY_N, UNLOCK
and DEEMPH will generate an update signal on any change in flag status. The interrupt and update
signals are latched and will remain asserted until they are cleared by reading the Interrupt Status
Register.
REGISTER
ADDRESS
BIT LABEL
DEFAULT
DESCRIPTION
0
UPD_UNLOCK
-
UNLOCK update signal
0 = INT_N not caused by a toggle of UNLOCK flag
1 = INT_N caused by a toggle of UNLOCK flag
1
INT_INVALID
-
INVALID flag interrupt signal
0 = INT_N not caused by INVALID flag
1 = INT_N caused by INVALID flag
2
INT_CSUD
-
INT_CSUD interrupt signal
0 = INT_N not caused by CSUD flag
1 = INT_N caused by CSUD flag
3
INT_TRANS_ERR
-
TRANS_ERR flag interrupt signal
0 = INT_N not caused by TRANS_ERR flag
1 = INT_N caused by TRANS_ERR flag
4
UPD_NON_AUDIO
-
NON_AUDIO update signal
0 = INT_N not caused by a toggle of AUDIO_N or PCM_N
flags
1 = INT_N caused by a toggle of AUDIO_N or PCM_N flags
5
UPD_CPY_N
-
CPY_N update signal
0 = INT_N not caused by assertion of CPY_N flag
1 = INT_N caused assertion of CPY_N flag
6
UPD_DEEMPH
-
DEEMPH update signal
0 = INT_N not caused by a toggle of DEEMPH flag
1 = INT_N caused by a toggle of DEEMPH flag
R11
INTSTAT
0Bh
(read-only)
7
UPD_REC_FREQ
-
REC_FREQ update signal
0 = INT_N not caused by assertion of REC_FREQ flag
1 = INT_N caused by assertion of REC_FREQ flag
Table 48 Interrupt Status Register