Texas Instruments TMS320C6000 manual BSL Introduction, How The BSL Benefits You

Page 10

BSL Introduction

1.1 BSL Introduction

The BSL provides a C-language interface for configuring and controlling all on- board devices. The library consists of discrete modules that are built and ar- chived into a library file. Each module represents an individual API and is re- ferred to simply as an API module. The module granularity is architected such that each device is covered by a single API module except the I/O Port Module, which is divided into two API modules: LED and DIP.

How The BSL Benefits You

The BSL’s beneficial features include device ease of use, shortened develop- ment time, portability, hardware abstraction, and a level of standardization and compatibility among devices. In general, the BSL makes it easier for you to get your algorithms up and running in the shortest length of time.

1-2

Image 10
Contents TMS320C6000 DSK Board Support Library API User’s Guide Important Notice Read This First About This ManualNotational Conventions How to Use This Manual Contents DIP API Module Tables BSL Overview BSL Introduction How The BSL Benefits YouBSL 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 Compiler Options BSL Project SettingsUser’s Program Setting Linker OptionsAD535 API Module AD535 API Module Description AD535 API SummaryAD535 API Module AD535 API Reference AD535ConfigAD535Config AD535closeSets the Free bit of an McBSP serial port to Sets up AD535 using configuration structureAD553freeMcbsp AD553freeMcbsp AD535Id Returns McBSP HandleAllocates codec channel AD535Id Codec of C6711DSK use the predfined pointerSets AD535’s input gain AD535inGainAD535inGain AD535micGainAD535modifyReg AD535modifyReg Modifies specified control registerAD535open AD535openOpens codec channel AD535outGain AD535powerDown Enables AD535’s power-down modeSets AD535’s output gain AD535readHwi AD535readAD535read AD535readRegAD535readReg AD535reset AD535resetAD535write Writes value to specified control register AD535writeRegAD535writeHwi AD535writeRegAD535writeReg Board API Module Board API Module Description Board API SummaryBoard API Reference Boardsupport Compile time constantBOARDwriteReg BSL API Module BSL API Module Description BSL API FunctionBSLinit BSL API ReferenceBSLinit DIP API Module DIP API Module Description DIP API SummaryDIPget Returns current value of specified DIP switchDIP API Reference Compile time constantFlash API Module Flash API Module Description Flash API SummaryFLASHchecksum Flash API ReferenceFLASHchecksum Returns checksum of specified Flash data FLASHerase FLASHerase Erases specified segment of Flash memoryFLASHread FLASHreadReads data from Flash address FLASHwrite Flashsupport Compile time constantWrites data to Flash address FLASHwrite To write from writeBuffer to pages 1LED API Module LED API Module Description LED API SummaryLEDoff LED API ReferenceLEDon LEDonLEDtoggle Toggles specified LEDGlossary 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 Index DipsupportLedsupport