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 AMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERUp/down flagb7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetUDF 038416 0016Bit symbolTA0UDTA1UDTA2UDTA3UDTA4UDTA2PTA3PTA4PBit nameTimer A0 up/down flagTimer A1 up/down flagTimer A2 up/down flagTimer A3 up/down flagTimer A4 up/down flagTimer A2 two-phase pulsesignal processing select bitTimer A3 two-phase pulsesignal processing select bitTimer A4 two-phase pulsesignal processing select bit0 : Down count1 : Up countFunctionThis specification becomes validwhen the up/down flag content isselected for up/down switchingcause0 : two-phase pulse signalprocessing disabled1 : two-phase pulse signalprocessing enabledWhen not using the two-phasepulse signal processing function,set the select bit to “0”R WOne-shot start flagb7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetONSF 038216 00X000002Bit symbolTA0OSTA1OSTA2OSTA3OSTA4OSBit nameTimer A0 one-shot start flagTimer A1 one-shot start flagTimer A2 one-shot start flagTimer A3 one-shot start flagTimer A4 one-shot start flagFunctionNothing is assigned.In an attempt to write to this bit, write “0”. The value, if read, turns out to be indeterminate.TA0TGLTA0TGHTimer A0 event/triggerselect bit1 : Timer startWhen read, the value is “0”b7 b60 0 : Input on TA0IN is selected (Note)0 1 : TB2 overflow is selected1 0 : TA4 overflow is selected1 1 : TA1 overflow is selectedNote: Set the corresponding port direction register to “0”.R WFigure 2.2.4. Timer A-related registers (3)284

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

Saved successfully!

Ooh no, something went wrong!