WM8350GEB/RV Wolfson Microelectronics, WM8350GEB/RV Datasheet - Page 201

no-image

WM8350GEB/RV

Manufacturer Part Number
WM8350GEB/RV
Description
Audio CODECs Audio CODEC plus pwr management
Manufacturer
Wolfson Microelectronics
Datasheet

Specifications of WM8350GEB/RV

Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
WM8350GEB/RVLRG
Manufacturer:
WOLFSON
Quantity:
20 000
Production Data
24 INTERRUPT CONTROLLER
Figure 80 Interrupt Equivalent Logic
24.1 CONFIGURING THE IRQ PIN
w
The WM8350 can send an interrupt signal to the host processor though the IRQ pin. Interrupts can
alert the host to a wide range of events and fault conditions. Each of these can be individually
enabled or masked. After receiving an interrupt, the host processor can read the interrupt registers in
order to determine what caused the interrupt, and take appropriate action if required.
The WM8350 interrupt controller has two levels:
Second-level interrupts indicate a single event in one of the circuit blocks. This is indicated by setting
a register bit. This bit is a “sticky” bit - once it is set, it remains at logic 1 until the host processor
reads the register. When the processor reads the register, the interrupt bits in that register are
cleared. First-level interrupts are the logical OR of several second-level interrupts (usually all the
interrupts associated with one particular circuit block). The default polarity of IRQ is active low,
meaning that the IRQ signal is the logical NOR of all first-level interrupts.
Individual second-level interrupt bits can be masked, which prevents them from setting the First-level
interrupt. (Note that the “sticky” bit will be set as normal, even if that interrupt is masked.)
Individual first-level interrupts can also be masked, preventing them from asserting the IRQ output.
To find the cause of an interrupt signal, the host processor should first read the first-level interrupt
register R24 to locate the circuit blocks(s) where the interrupt originated; after that, the precise
cause(s) of the interrupt can be determined by reading the second-level interrupt register(s) as
appropriate to the indicated first-level interrupt event.
The default polarity of IRQ is active low; this can be changed to active high if desired, by writing to
the IRQ_POL bit.
When the WM8350 is in the HIBERNATE state, interrupts can be disabled or can remain active. The
desired behaviour can be selected using the IRQ_HIB_MODE bit.
R3 (03h)
System
Control 1
R5 (05h)
System
Hibernate
Table 141 Interrupts in HIBERNATE State
ADDRESS
BIT
0
3
IRQ_POL
IRQ_HIB_MOD
E
LABEL
DEFAULT
0
0
IRQ pin polarity
0 = active low (/IRQ)
1 = active high (IRQ)
IRQ pin state in hibernate mode
0 = Normal operation
1 = Forced to indicate there is no IRQ.
PD, February 2011, Rev 4.4
DESCRIPTION
WM8350
201

Related parts for WM8350GEB/RV