Texas-instruments TMS320C6000 Instrukcja Użytkownika Strona 51

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 62
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 50
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);
Przeglądanie stron 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 61 62

Komentarze do niniejszej Instrukcji

Brak uwag