1 clock error (bit 3), 2 overflow (bit 1), 3 underflow (bit 0) – Cirrus Logic CS5345 User Manual

Page 37: 11 interrupt mask - address 0eh, 12 interrupt mode msb - address 0fh, 13 interrupt mode lsb - address 10h, Cs5345

Advertising
background image

DS658F4

37

CS5345

6.10.1

Clock Error (Bit 3)

Function:

Indicates the occurrence of a clock error condition.

6.10.2

Overflow (Bit 1)

Function:

Indicates the occurrence of an ADC overflow condition.

6.10.3

Underflow (Bit 0)

Function:

Indicates the occurrence of an ADC underflow condition.

6.11

Interrupt Mask - Address 0Eh

Function:

The bits of this register serve as a mask for the Status sources found in the register

“Interrupt Status - Ad-

dress 0Dh” on page 36

. If a mask bit is set to 1, the error is unmasked, meaning that its occurrence will affect

the INT pin and the status register. If a mask bit is set to 0, the error is masked, meaning that its occurrence
will not affect the INT pin or the status register. The bit positions align with the corresponding bits in the Sta-
tus register.

6.12

Interrupt Mode MSB - Address 0Fh

6.13

Interrupt Mode LSB - Address 10h

Function:

The two Interrupt Mode registers form a 2-bit code for each Interrupt Status register function. There are
three ways to set the INT pin active in accordance with the interrupt condition. In the Rising-Edge Active
Mode, the INT pin becomes active on the arrival of the interrupt condition. In the Falling-Edge Active Mode,
the INT pin becomes active on the removal of the interrupt condition. In Level-Active Mode, the INT pin re-
mains active during the interrupt condition.

00 - Rising edge active
01 - Falling edge active
10 - Level active
11 - Reserved

7

6

5

4

3

2

1

0

Reserved

Reserved

Reserved

Reserved

ClkErrM

Reserved

OvflM

UndrflM

7

6

5

4

3

2

1

0

Reserved

Reserved

Reserved

Reserved

ClkErr1

Reserved

Ovfl1

Undrfl1

Reserved

Reserved

Reserved

Reserved

ClkErr0

Reserved

Ovfl0

Undrfl0

Advertising