21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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) Count enabled(2) Timer A0 start count(3) Timer A0 stop countl000116n = reload register contentTimeFFFF16n(4) Timer A1 start count(5) Timer A1 stop countTimer A0 countstart flagTimer A1 countstart flag000116“1”“0”“1”“0”Set to “1” by softwareSet to “1” by softwareTimeInput signal fromTA0IN pin“H”“L” 1ms 50µsPWM pulse outputfrom TA1OUT pinTimer A0 interruptrequest bitTimer A1 interruptrequest bit“H”“L”“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.3.1. Operation timing of delayed one-shot outputTA0IN pin inputf1f8f32Timer A0Used for one-shot timer modeTimer A0 interrupt request bitfC32Timer A1Timer A1 interrupt request bitUsed for one-shot timer modeFigure 3.3.2. Connection diagram of delayed one-shot output465

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

Saved successfully!

Ooh no, something went wrong!