Zilog Z16C30 Manual de usuario Pagina 145

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 208
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 144
7-17
Z16C30 USC
®
USER'S MANUAL
ZILOG
UM97USC0100
Start: Interrupt with
Vector = "Rx Data"
CT=0?
Clear the RD IP bit
(write 90
16
to DCCR7-0)
Yes
Read Status
from RCSR.
Handle bits other
than RxBound
as required.
No
CT=0?
IF NECESSARY,
write 0101 to
RCmd (RCSR15-12)
Read FIFO count
CT: = RICR15-8
Read FIFO count
CT: = RICR15-8
No
Yes
Clear the RD IUS bit
(write 90
16
to DCCR15-8)
Return from
Interrupt
Read & store byte
or word from RDR.
Decrement CT by
1 or 2 accordingly
Read & store last
byte/word from RDR.
Decrement CT by
1 or 2 accordingly
End of Frame?
RxBound
(RCSR4) = 1
?
Yes
Read RCSR15-8
or RCSR15-0, to
clear latched status
Perform End of
Frame processing
(switch buffers etc.)
No
Figure 7-11. A Sample Service Routine for Receive Data Interrupts
UM009402-0201
Vista de pagina 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 207 208

Comentarios a estos manuales

Sin comentarios