Machine-translated by Google. Questions are authored in English.
Top

Discussion

Double buffering in a DMA driver allows

  • A.one buffer to be processed while the other fills
  • B.the transfer rate to be doubled
  • C.the DMA controller to be dispensed with
  • D.the interrupt to be disabled during the transfer

Answer: A

Correct answer: one buffer to be processed while the other fills

With two buffers the DMA controller fills one while the processor works on the other, and they exchange roles at each completion. Nothing is transferred faster; what is gained is that no data arrives while there is nowhere to put it, so a continuous stream can be handled without loss.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.