20.07.2015 Views

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

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.

TimerMitsubishi microcomputers<strong>M16C</strong> / <strong>62</strong> <strong>Group</strong>SINGLE-CHIP 16-BIT CMOS MICROCOMPUTERTimerThere are eleven 16-bit timers. These timers can be classified by function into timers A (five) and timers B(six). All these timers function independently. Figures 1.17.1 and 1.17.2 show the block diagram of timers.Clock prescalerXINf1 f8 f32 fC321/81/4f1f8f32XCINClock prescaler reset flag (bit 7at address 038116) set to “1”1/32 fC32ResetTA0INNoisefilter• Timer mode• One-shot mode• PWM mode• Event counter modeTimer A0Timer A0 interruptTA1INNoisefilter• Timer mode• One-shot mode• PWM mode• Event counter modeTimer A1Timer A1 interruptTA2INNoisefilter• Timer mode• One-shot mode• PWM mode• Event counter modeTimer A2Timer A2 interruptTA3INNoisefilter• Timer mode• One-shot mode• PWM mode• Event counter modeTimer A3Timer A3 interruptTA4INNoisefilter• Timer mode• One-shot mode• PWM mode• Event counter modeTimer A4Timer A4 interruptTimer B2 overflowNote 1: The TA0IN pin (P71) is shared with RxD2 and the TB5IN pin, so be careful.Figure 1.17.1. Timer A block diagram82

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

Saved successfully!

Ooh no, something went wrong!