Texas Instruments TMS320C6000 Benutzerhandbuch

Seite von 62
LED_on
7-3
 LED API Module
7.2
LED API Reference   
Turns off specified LED
LED_off
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);
Turns on specified LED
LED_on
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