beautypg.com

13 alc enable & attack rate (address 1ch), 14 alc release rate (address 1dh), Alc release rate (address 1dh)” on – Cirrus Logic CS53L21 User Manual

Page 52: P 52, Cs53l21

background image

52

DS700PP1

CS53L21

Function:

Implements mono mixes of the left and right channels as well as a left/right channel swap.

6.13 ALC Enable & Attack Rate (Address 1Ch)

ALC Enable (ALC_ENX)

Default: 0

0 - Disabled
1 - Enabled

Function:

Enables automatic level control for ADC channel x.

Note:

When the ALC is enabled, the Attenuator and PGA volume is automatically controlled and should
not be adjusted manually.

ALC Attack Rate (ARATE[5:0])

Default: 000000

Function:

Sets the rate at which the ALC attenuates the analog input from levels above the maximum setting in the
ALC threshold register.

The limiter attack rate is user-selectable but is also a function of the sampling frequency, Fs, and the SOFTx
& ZCROSSx bit settings unless the disable bit for each function is enabled.

6.14 ALC Release Rate (Address 1Dh)

ALC Release Rate (RRATE[5:0])

Default: 111111

01

01

10

10

11

R

11

L

7

6

5

4

3

2

1

0

ALC_ENB

ALC_ENA

ALC_ARATE5 ALC_ARATE4 ALC_ARATE3 ALC_ARATE2 ALC_ARATE1 ALC_ARATE0

Binary Code

Attack Time

000000

Fastest Attack

···

···

111111

Slowest Attack

7

6

5

4

3

2

1

0

Reserved

Reserved

ALC_RRATE5 ALC_RRATE4 ALC_RRATE3 ALC_RRATE2 ALC_RRATE1 ALC_RRATE0

Binary Code

Release Time

000000

Fastest Release

···

···

111111

Slowest Release

ADCA[1:0]

SDOUT

ADCB[1:0]

SDOUT

L R

+

2

------------

L R

+

2

------------