Fujitsu MB90335 Series Hardware Manual page 69

16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 3 INTERRUPT
3.1 Outline of Interrupt
Interruption by μDMAC
μDMAC is involved in automatic data transfer between peripheral functions and memory. EI
data transfer by DMA transfer although it was previously performed by the interrupt handling program.
Once the data transfer process has been performed the specified number of times, μDMAC automatically
executes the interrupt handling program.
Interruption by μDMAC is a type of hardware interrupt.
Memory space
I/O register
Buffer
DCT
IOA: I/O address pointer
BAP: Buffer address pointer
(1)
The peripheral resource (I/O) requests DMA transfer.
(2)
When the corresponding bit of DMA enable register (DER) is "1", DMAC reads from the descriptor the transfer data
such as the transfer source address, transfer destination address, and transfer count of specified channels.
(3)
DMA data transfer is started between I/O and memory.
(4)
After one item (either Byte data or Word data) transferred.
(a)
Transfer has not been completed (DCT does not reached to 0):
μDMAC requests to clear the DMA transfer request to the peripheral resource.
(b)
At transfer end (DCT reached to 0):
After completion of DMA transfer, the flag indicating completion of transfer is set in the DMA status register,
outputting an interrupt request to the interrupt controller.
Note: Write access to the internal registers DCSR, DSRH, DSRL, DSSR, DERH, and DERL is prohibited during DMA transfer.
Exception processing
Exception processing, basically the same as interrupt, is executed when an exception item (execution of an
undefined instruction) is detected at an instruction-to-instruction boundary; the normal process is
suspended for this purpose. Equivalent to software interrupt instruction "INT10".
48
Figure 3.1-4 Overview of the Direct Memory access (DMA)
IOA
I/O register
(4) (a)
(3)
DMA controller
BAP
CPU
DER: DMA enable register
DCT: Data counter
FUJITSU MICROELECTRONICS LIMITED
Peripheral
function
(I/O)
(1)
(2)
(2)
(4) (b)
Interrupt
controller
MB90335 Series
2
OS performs
RAM for
descriptor
DMA
descriptor
CM44-10137-6E

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents