Renesas H8S/2138 Series Manual Pagina 92

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 148
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 91
Microcomputer Technical Q&A
84
Q&A No.: QAH8S-211
Category: DMAC
Subject: Handling of Transfer End Interrupt
Questions
The manual states that if DTE is cleared to 0 when DTIE = 1, an interrupt request is sent to the
CPU.
1. In the case shown in the figure, will DMA transfer end interrupts be generated continually?
2. How can interrupt generation be prevented?
DMA interrupt handling
DTE = 0, DTIE = 1
DTE = 0, DTIE = 1
values held
RTE
Answers
1. In the case in the figure, interrupts will be generated continually.
2. An interrupt will always be generated if DTIE is set to 1 (enabling interrupts) when DTE = 0.
Therefore, either set the DTE bit to 1 (the BSET instruction can be used) or clear the DTIE bit
to 0 (the BCLR instruction can be used).
Vista de pagina 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 ... 147 148

Comentarios a estos manuales

Sin comentarios