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.

Timer A1 countercontent (hex)Timer A0 countercontent (hex)Timer A ApplicationsMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERl = reload register contentFFFF16(1) Timer A0 start count(2) Timer A0 underflowl000016FFFF16nn = reload register content(3) Timer A1 start count(4) Timer A1 stop countTimeTimer A0 countstart flagTimer A1 countstart flagPWM pulse outputfrom TA1OUT pin000116“1”“0”“1”“0”“H”“L”Set to “1” by softwareSet to “1” by software1ms 500µsTimeTimer A0 interruptrequest bitTimer A1 interruptrequest bit“1”“0”“1”“0”Cleared to “0” when interrupt request is accepted, or cleared by softwareCleared to “0” when interrupt request is accepted, or cleared by softwareFigure 3.2.1. Operation timing of variable-period variable-duty PWM outputf1f8f32Used for timer mode (Set to period)Timer A0Timer A0 interrupt request bitfC32Timer A1Timer A1 interrupt request bitUsed for one-shot timer mode (Set to “H” width)Figure 3.2.2. Connection diagram of variable-period variable-duty PWM output461

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

Saved successfully!

Ooh no, something went wrong!