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 MICROCOMPUTERContinued from the previous pageInitialization of timer A0b70 0 0 0 0 0b00 0Timer A0 mode registerTA0MR [Address 039616 ]Selection of timer modePulse output function select bit0 : Pulse is not output (TA0OUT pin is a normal port pin)Gate function select bitb4 b30 0 : Gate function not available (TA0IN pin is a normal port pin)0 (Must always be fixed to “0” in timer mode)Count source select bitb7 b60 0 : f1b7 b60 00 11 01 1Countsourcef1f8f32fC32Count source periodf(XIN) : 16MHZ f(XcIN) : 32.768kHZ62.5ns500ns2µs976.56µsb15 b8 b7 b03E160F16b7b0Timer A0 registerTA0 [Address 0387, 038616 ]b7b01Count start flag [Address 038016]TABSRTimer A0 count start flag1 : Starts countingFigure 3.6.4. Set-up procedure of memory to memory DMA transfer (2)475

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

Saved successfully!

Ooh no, something went wrong!