Texas Instruments TMS320C6000 manual AD535outGain, Sets AD535’s output gain

Page 25

AD535_powerDown

AD535_outGain

Sets AD535’s output gain

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)

ExampleAD535_outGain(hAD535,AD535_GAIN_0DB);

AD535_powerDown Enables AD535’s power-down mode

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);

AD535 API Module

2-13

Image 25
Contents TMS320C6000 DSK Board Support Library API User’s Guide Important Notice About This Manual Read This FirstNotational Conventions How to Use This Manual Contents DIP API Module Tables BSL Overview How The BSL Benefits You BSL IntroductionBSL Modules and Include Files BSL API ModulesBSL API Module Support Using BSL Handles BSL Support Library Name and Symbol ConventionsBSL API Module Support for 6711 DSK User’s Program Setting BSL Project SettingsCompiler Options Linker OptionsAD535 API Module AD535 API Summary AD535 API Module DescriptionAD535 API Module AD535Config AD535ConfigAD535 API Reference AD535closeSets the Free bit of an McBSP serial port to Sets up AD535 using configuration structureAD553freeMcbsp AD553freeMcbsp AD535Id Returns McBSP HandleAllocates codec channel Codec of C6711DSK use the predfined pointer AD535Id AD535inGain AD535inGain Sets AD535’s input gain AD535micGainAD535modifyReg Modifies specified control register AD535modifyRegAD535open AD535openOpens codec channel AD535outGain AD535powerDown Enables AD535’s power-down modeSets AD535’s output gain AD535read AD535readAD535readHwi AD535readRegAD535readReg AD535reset AD535resetAD535write AD535writeHwi AD535writeRegWrites value to specified control register AD535writeRegAD535writeReg Board API Module Board API Summary Board API Module DescriptionBoardsupport Compile time constant Board API ReferenceBOARDwriteReg BSL API Module BSL API Function BSL API Module DescriptionBSLinit BSL API ReferenceBSLinit DIP API Module DIP API Summary DIP API Module DescriptionDIP API Reference Returns current value of specified DIP switchDIPget Compile time constantFlash API Module Flash API Summary Flash API Module DescriptionFLASHchecksum Flash API ReferenceFLASHchecksum Returns checksum of specified Flash data FLASHerase Erases specified segment of Flash memory FLASHeraseFLASHread FLASHreadReads data from Flash address FLASHwrite Flashsupport Compile time constantWrites data to Flash address To write from writeBuffer to pages 1 FLASHwriteLED API Module LED API Summary LED API Module DescriptionLEDon LED API ReferenceLEDoff LEDonToggles specified LED LEDtoggleGlossary Board The BOARD-specific API Module CSL See chip support library DIP The DIP Switches API Module Flash The Flash ROM API Module IRQ Interrupt request see IRQ module ∝ -law companding See compress and expand compand Rtos Real-time operating system Glossary A-9 Dipsupport IndexLedsupport