Atmel AVR2070 Instrukcja Użytkownika Strona 49

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 59
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 48
A Anhang
98 }
99
100
101 /* isr forced when tr a nsmissi o n of frame is completed */
102 ISR ( TRX 2 4_TX _END_ vect )
103 {
104 /* transmission completed */
105 tx_ i n_pro g ress = false ;
106
107 /* i n di cate trans m ission of frame */
108 LED_TOGG L E (2);
109
110 /* wait 500 ms and indicate ready state */
111 WAIT500MS ();
112 LED_TOGG L E (0);
113 LED_TOGG L E (1);
114 }
115
116
117 /* isr forced when button is pressed */
118 ISR ( INT5_vect )
119 {
120 /* i n di cate button state */
121 but t on_pr e ssed = true ;
122 }
Listing A.2: Datenversand mit Hilfe des µracoli-Pakets
44
Przeglądanie stron 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 58 59

Komentarze do niniejszej Instrukcji

Brak uwag