Samsung 8-Bit Instrukcja Użytkownika Strona 96

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 462
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 95
INTERRUPT STRUCTURE S3C9228/P9228
5-6
Programming Tip — How to clear an interrupt pending bit
As the following examples are shown, a load instruction should be used to clear an interrupt pending bit.
Examples:
1. LD INTPND1, #11111011B ; Clear P0.2's interrupt pending bit
IRET
2. LD INTPND2, #11110111B ; Clear watch timer interrupt pending bit
IRET
Przeglądanie stron 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 461 462

Komentarze do niniejszej Instrukcji

Brak uwag