Texas Instruments TMS320C6000 Network Card User Manual


 
LED_SUPPORT
7-4
Description Turns on 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 on LED # 1 use:
LED_on(LED_1);
Compile time constant
LED_SUPPORT
Constant LED_SUPPORT
Description Compile time constant that has a value of 1 if the board supports the LED
module and 0 otherwise. You are not required to use this constant.
Currently, all devices support this module.
Example #if (LED_SUPPORT)
/* do LED operations */
#endif
Toggles specified LED
LED_toggle
Function void LED_toggle(
Uint32 LedNum
);
Arguments LedNum Specifies which LED to be toggled, can be one of the
following:
- LED_1
- LED_2
- LED_3
-
Return Value none
Description Toggles 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 toggle LED # 1 use:
LED_toggle(LED_1);