8 freeze control - address 0fh, 1 freeze (bit 7), 9 master1 mask - address 10h – Cirrus Logic CS3318 User Manual

Page 36: 10 master1 volume - address 11h, 1 master1 volume control (bits 7:0), 1 master 1 volume control (bits 7:0), Cs3318

Advertising
background image

36

DS693F1

CS3318

7.8

Freeze Control - Address 0Fh

7.8.1

Freeze (Bit 7)

Default = 0
Function:

When the Freeze bit is set, the Freeze function allows modifications to the control port registers with-
out changes taking effect until Freeze bit is cleared. To make multiple changes in the Control Port
registers take effect simultaneously, set the Freeze bit, make all register changes, then clear the
Freeze bit.

7.9

Master 1 Mask - Address 10h

Each bit in this register serves as a Master 1 mask for its corresponding channel.

If a mask bit is set to ‘1’, the corresponding channel is unmasked, meaning that it will be affected by the
Master 1 volume and muting controls.

If a mask bit is set to ‘0’, the corresponding channel is masked, meaning that it will not be affected by the
Master 1 volume and muting controls.

This register defaults to FFh (all channels unmasked).

7.10

Master 1 Volume - Address 11h

7.10.1

Master 1 Volume Control (Bits 7:0)

Default = 11010010
Function:

The Master 1 volume control register allows the user to simultaneously gain or attenuate all un-
masked channels in 0.5 dB increments. The volume changes are implemented as dictated by the ZC-
Mode[1:0] and TimeOut[2:0] bits in the Device Config 2 register (see

“Device Configuration 2 -

Address 0Ch” on page 34

).

The value of the Master 1 volume control register is mapped to the desired 0.5 dB step Master 1 vol-
ume setting by the following equation:

In the equation above, “Desired Volume Setting in dB” is determined by rounding the desired ¼ dB
resolution volume setting down to ½ dB resolution.

It should be noted that input values outside the CS3318’s analog range of +22 dB to -96 dB are valid,
however, the volume of each channel will be limited to the CS3318’s analog range (see

“Volume Lim-

its” on page 20

).

See

Table 5 on page 31

for example register settings.

7

6

5

4

3

2

1

0

Reserved

Reserved

Reserved

Reserved

Reserved

Reserved

Reserved

Freeze

7

6

5

4

3

2

1

0

M1_Ch8M

M1_Ch7M

M1_Ch6M

M1_Ch5M

M1_Ch4M

M1_Ch3M

M1_Ch2M

M1_Ch1M

7

6

5

4

3

2

1

0

M1_Vol7

M1_Vol6

M1_Vol5

M1_Vol4

M1_Vol3

M1_Vol2

M1_Vol1

M1_Vol0

Register Value

2

Desired Volume Setting in dB

Ч

(

) 210

+

=

Advertising