Texas Instruments TMS320C6000 manual LED API Reference, LEDon, LEDoff

Page 50

LED_on

7.2 LED API Reference

LED_off

Turns off specified LED

Function

 

void LED_off(

 

 

 

Uint32 LedNum

 

);

 

Arguments

 

LedNum

Specifies which LED to be turned off. Can be one of

 

 

 

the following:

 

 

 

- LED_1

 

 

 

- LED_2

 

 

 

- LED_3

 

 

 

-

Return Value

 

none

 

Description

 

Turns off the specified LED.

 

 

C6711 DSK

 

-LED_1 = USER_LED1

-LED_2 = USER_LED2

-LED_3 = USER_LED3

-LED_ALL = all user LEDs

Example

If you want to turn off LED # 1 use:

 

LED_off(LED_1);

LED_on

Turns on specified LED

Function

 

void LED_on(

 

 

 

Uint32 LedNum

 

);

 

Arguments

 

LedNum

Specifies which LED to be turned on. Can be one of

 

 

 

the following:

 

 

 

- LED_1

 

 

 

- LED_2

 

 

 

- LED_3

 

 

 

-

Return Value

 

none

 

LED API Module

7-3

Image 50
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 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 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 AD535closeAD553freeMcbsp Sets up AD535 using configuration structureSets the Free bit of an McBSP serial port to AD553freeMcbsp Allocates codec channel Returns McBSP HandleAD535Id AD535Id Codec of C6711DSK use the predfined pointerSets AD535’s input gain AD535inGainAD535inGain AD535micGainAD535modifyReg AD535modifyReg Modifies specified control registerOpens codec channel AD535openAD535open Sets AD535’s output gain AD535powerDown Enables AD535’s power-down modeAD535outGain AD535readHwi AD535readAD535read AD535readRegAD535readReg AD535write AD535resetAD535reset 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 Returns checksum of specified Flash data Flash API ReferenceFLASHchecksum FLASHerase FLASHerase Erases specified segment of Flash memoryReads data from Flash address FLASHreadFLASHread Writes data to Flash address Flashsupport Compile time constantFLASHwrite 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