Texas Instruments TMS320C6000 Benutzerhandbuch

Seite von 62
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
LED_on
F
Turns on the specified LED
LED_SUPPORT
C
A compile time constant whose value is 1 if the board
supports the LED module
LED_toggle
F
Toggles the specified LED
Note:
F = Function; C = Constant; S = Structure; T = Typedef