Fujitsu F2MC-16LX Hardware Manual page 118

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

CHAPTER 3 INTERRUPT
µDMAC Use Procedure
Figure 3.8-13 shows the procedure for using µDMAC.
Software processing
START
Setting System stack area
Initializing peripheral function
Setting Interrupt control register
Initializing µDMAC
Execute User program
(Jump to Interrupt routine)
Interrupt processing
End of processing
102
Figure 3.8-13 Use Procedure of µDMAC
(Interrput generation)
No
Yes
(DBAP)
BF = 0
Yes
BW = 1
Yes
BYTEL = 0
No
Yes
BAP = BAP+2
STPx = 1
ENx = 0
No
Generating other
interrupt
ENx
DTEx
STPx
Hardware processing
ENx=1 of appropreate ch
Yes
STOP request
and SE=1
No
DMA transfer
(DIOA)
No
No
IF = 0
No
BW = 1
No
BYTEL = 0
DCT = 0
Yes
Yes
IOA = IOA+2
BAP = BAP+1
No
DCT = 0
Yes
DTEx = 1
Generating
interrupt
Yes
: DMA enable register appropriate bit
: DMA status register appropriate bit
: DMA stop status register appropriate bit
: Output interrupt request to interrupt controller
Yes
No
Yes
No
No
DCT = 0
Yes
IOA = IOA+1
Yes
No

Advertisement

Table of Contents
loading

Table of Contents