beautypg.com

Ad535_outgain, Ad535_powerdown – Texas Instruments TMS320C6000 User Manual

Page 25

background image

AD535_powerDown

2-13

AD535 API Module

Sets AD535’s output gain

AD535_outGain

Function

void AD535_outGain(
AD535_Handle hAD535,
float outGain
);

Arguments

hAD535

Handle to codec channel, see

AD535_open()

outGain

DAC output gain.

Return Value

none

Description

Sets the AD535’s output gain.

6711 DSK

-

AD535_GAIN_MUTE

-

AD535_GAIN_0DB

-

–36 dB <= outGain <= 12 dB (in 1.5 dB steps)

Example

AD535_outGain(hAD535,AD535_GAIN_0DB);

Enables AD535’s power-down mode

AD535_powerDown

Function

void AD535_powerDown(
AD535_Handle hAD535
);

Arguments

hAD535

Handle to codec channel, see

AD535_open()

Return Value

none

Description

Enables the AD535’s power down mode. This performs a software power
down, so the control registers retain their previous values.

Example

AD535_powerDown(hAD535);