beautypg.com

Led api module description, 1 led api module description – Texas Instruments TMS320C6000 User Manual

Page 49

background image

LED API Module Description

7-2

7.1

LED API Module Description

This module has a simple API for configuring on-board LED outputs. Three
states can be set by the following functions:

-

LED_on(led#)

-

LED_off(led#)

-

LED_toggle(led#)

Table 7–1. LED API Summary

Syntax

Type

Description

Page

LED_off

F

Turns off the specified LED

7-3

LED_on

F

Turns on the specified LED

7-3

LED_SUPPORT

C

A compile time constant whose value is 1 if the board
supports the LED module

7-4

LED_toggle

F

Toggles the specified LED

7-4

Note:

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