21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DMAC ApplicationsMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERInitialization of DMA0b7b00 0 0 1 0DMA0 request cause select registerDM0SL [Address 03B816]b70 1b01 0 1 1DMA0 control registerDM0CON [Address 002C16]DMA request cause select bitb3 b2 b1 b00 0 1 0 : Timer A0Software DMA request bit0 : Software is not generatedTransfer unit bit select bit1 : 8 bitsRepeat transfer mode select bit1 : Repeat transferDMA request bit0 : DMA not requestedDMA enable bit1 : EnabledSource address direction select bit1 : ForwardDestination address directionselect bit0 : Fixedb23b7b23b70A160016b16 b15 b8 b7 b00016 0016 DMA0 source pointer SAR0 [Address 002216, 002116, 002016]b0 b7b0b16 b15 b8 b7 b00816 0016 DMA0 destination DAR0 [Address 002616, 002516, 002416]pointerb0 b7b0b15 b8 b7 b00016 7F16 DMA0 transfer counter TCR0 [Address 002916, 002816]b7b0Initialization of DMA1b7b00 0 0 1 0DMA0 request cause select registerDM1SL [Address 03BA16]DMA request cause select bitb3 b2 b1 b00 0 1 0 : Timer A0Software DMA request bit0 : Software is not generatedb71 0b01 0 1 1DMA1 control registerDM1CON [Address 003C16]Transfer unit bit select bit1 : 8 bitsRepeat transfer mode select bit1 : Repeat transferDMA request bit0 : DMA not requestedDMA enable bit1 : EnabledSource address direction select bit0 : FixedDestination address directionselect bit1 : Forwardb23b7b23b700160C16b16 b15 b8 b7 b00816 0016 DMA1 source pointer SAR1 [Address 003216, 003116, 003016]b0 b7b0b16 b15 b8 b7 b00016 0016 DMA1 destination DAR1 [Address 003616, 003516, 003416]b0 b7b0pointerb15 b8 b7 b00016 7F16 DMA1 transfer counter TCR1 [Address 003916, 003816]b7b0Continued to the next pageFigure 3.6.3. Set-up procedure of memory to memory DMA transfer (1)474

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!