Texas Instruments TMS320C6000 manual DIP API Module Description, DIP API Summary

Page 39

DIP API Module Description

5.1 DIP API Module Description

This module has the following single API for reading DIP switch positions:

DIP_get(dip#) returns a boolean value {0,1}.

Table 5–1. DIP API Summary

Syntax

Type

Description

Page

 

 

 

 

 

 

DIP_get

F

Reads the status of the DIP switches

5-3

 

DIP_SUPPORT

C

A compile time constant whose value is 1 if the board

5-3

 

 

 

supports the DIP module

 

 

Note: F = Function; C = Constant; S = Structure; T = Typedef

5-2

Image 39
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 Modules BSL Modules and Include FilesBSL API Module Support BSL Support Library Name and Symbol Conventions Using BSL HandlesBSL API Module Support for 6711 DSK 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 ReferenceSets up AD535 using configuration structure Sets the Free bit of an McBSP serial port toAD553freeMcbsp AD553freeMcbsp Returns McBSP Handle AD535IdAllocates codec channel Codec of C6711DSK use the predfined pointer AD535IdAD535micGain AD535inGainAD535inGain Sets AD535’s input gainAD535modifyReg Modifies specified control register AD535modifyRegAD535open AD535openOpens codec channel AD535powerDown Enables AD535’s power-down mode AD535outGainSets AD535’s output gain AD535readReg AD535readAD535read AD535readHwiAD535readReg AD535reset AD535resetAD535write 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 DescriptionBSL API Reference BSLinitBSLinit 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 DescriptionFlash API Reference FLASHchecksumFLASHchecksum Returns checksum of specified Flash data FLASHerase Erases specified segment of Flash memory FLASHeraseFLASHread FLASHreadReads data from Flash address Flashsupport Compile time constant FLASHwriteWrites data to Flash address 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