Texas Instruments TMS320C6000 manual BSL API Module

Page 35

Chapter 4

BSL API Module

This chapter provides a description of the BSL API module and includes a ref- erence section showing the single API function within this module.

Topic

 

Page

 

 

 

4.1

BSL API Module Description

. . 4-2

4.2

BSL API Reference

. . 4-3

 

 

 

4-1

Image 35
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 API Module Support BSL API ModulesBSL Modules and Include Files BSL API Module Support for 6711 DSK BSL Support Library Name and Symbol ConventionsUsing BSL Handles Linker Options BSL Project SettingsUser’s Program Setting Compiler OptionsAD535 API Module AD535 API Summary AD535 API Module DescriptionAD535 API Module AD535close AD535ConfigAD535Config AD535 API ReferenceAD553freeMcbsp Sets up AD535 using configuration structureSets the Free bit of an McBSP serial port to AD553freeMcbsp Allocates codec channel Returns McBSP HandleAD535Id Codec of C6711DSK use the predfined pointer AD535IdAD535micGain AD535inGainAD535inGain Sets AD535’s input gainAD535modifyReg Modifies specified control register AD535modifyRegOpens codec channel AD535openAD535open Sets AD535’s output gain AD535powerDown Enables AD535’s power-down modeAD535outGain AD535readReg AD535readAD535read AD535readHwiAD535readReg AD535write AD535resetAD535reset AD535writeReg AD535writeRegAD535writeHwi Writes value to specified control registerAD535writeReg 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 DescriptionCompile time constant Returns current value of specified DIP switchDIP API Reference DIPgetFlash API Module Flash API Summary Flash API Module DescriptionFLASHchecksum Returns checksum of specified Flash data Flash API ReferenceFLASHchecksum FLASHerase Erases specified segment of Flash memory FLASHeraseReads data from Flash address FLASHreadFLASHread Writes data to Flash address Flashsupport Compile time constantFLASHwrite To write from writeBuffer to pages 1 FLASHwriteLED API Module LED API Summary LED API Module DescriptionLEDon LED API ReferenceLEDon LEDoffToggles 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