Zilog Z16C35 Instrukcja Użytkownika Strona 272

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 322
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 271
Application Note
Boost Your System Performance Using The Zilog ESCC
13-5
1
TRANSMIT FIFO INTERRUPT
In the ESCC, transmit interrupt frequencies are reduced by
a deeper Transmit FIFO and the revised transmit interrupt
structure. If the WR7' D5 Transmit FIFO Interrupt Level bit
is reset, the transmit interrupt is generated when the entry
location of the FIFO is empty, i.e., more data can be
written. This is downward compatible with a SCC Transmit
Interrupt since the SCC only has a one-byte transmit buffer
instead of a four-byte Transmit FIFO.
If WR7' D5 is set, the transmit buffer empty interrupt is
generated when the transmit FIFO is completely empty.
Enabling the transmit FIFO interrupt level, together with
polling the Transmit Buffer Empty (TBE) bit in RR0, causes
significant transmit interrupt frequency reduction. Transmit
data is sent in blocks of four bytes (algorithm is illustrated
in Figure 4). This helps to offload those systems which
have long interrupt latency or a fully loaded Operating
System.
Figure 4. Flowchart of Transmit Interrupt Service Routine to Reduce Transmit Interrupt Frequencies
Transmit FIFO
Full
Write Data To
Transmit FIFO
Transmit FIFO
Is Loaded
With Data
TBE Interrupt
Service
RR0
TBE = '1'?
YES
NO
TX FIFO Int.
Level Enabled
Page 266 of 316
UM011002-0808
Przeglądanie stron 271
1 2 ... 267 268 269 270 271 272 273 274 275 276 277 ... 321 322

Komentarze do niniejszej Instrukcji

Brak uwag