Texas Instruments TMS320C6000 Network Card User Manual


 
AD535_Config
2-5
AD535 API Module
2.2 AD535 API Reference
Closes codec channel
AD535_close
Function Void AD535_close(
AD535_Handle hAD535
);
Arguments hAD535 Handle to codec channel, see AD535_open()
Return Value none
Description This function closes a codec channel previously opened via
AD535_open(). The registers for the codec are set to their power-on
defaults.
Example AD535_close(hAD535);
Configuration structure used to set up codec channel
AD535_Config
Structure AD535_Config
Members AD535_Loopback lb_mode Loopback mode:
- AD535_LOOPBACK_DISABLE
- AD535_LOOPBACK_ANALOG
- AD535_LOOPBACK_DIGITAL
AD535_MicGain mic_gain Microphone preamp gain:
- AD535_MICGAIN_OFF
- AD535_MICGAIN_ON
Float in_gain ADC input gain:
- AD535_GAIN_MUTE
- AD535_GAIN_0DB
- 36 dB <= gain <= 12 dB
(in 1.5 dB steps)
Float out_gain DAC output gain:
- AD535_GAIN_MUTE
- AD535_GAIN_0DB
- 36 dB <= gain <= 12 dB
(in 1.5 dB steps)