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.

Timers’ functions for three-phase motor controlMitsubishi microcomputers<strong>M16C</strong> / <strong>62</strong> <strong>Group</strong>SINGLE-CHIP 16-BIT CMOS MICROCOMPUTERTimer Ai register (Note)(b15)(b8)b7 b0 b7b0• Timer modeCounts an internal count source• One-shot timer modeCounts a one shot widthSymbol Address When resetTA1 038916,038816 IndeterminateTA2 038B16,038A16 IndeterminateTA4 038F16,038E16 IndeterminateTB2 039516,039416 IndeterminateFunctionNote: Read and write data in 16-bit units.Values that can be set R W000016 to FFFF16000016 to FFFF16Timer Ai-1 register (Note)(b15)(b8)b7 b0 b7 b0Symbol Address When resetTA11 034316,034216 IndeterminateTA21 034516,034416 IndeterminateTA41 034716,034616 IndeterminateTrigger select registerb7 b6 b5 b4 b3 b2 b1b0FunctionCounts an internal count sourceNote: Read and write data in 16-bit units.Symbol Address When resetTRGSR 038316 0016Values that can be set000016 to FFFF16R WBit symbolTA1TGLTA1TGHTA2TGLTA2TGHTA3TGLTA3TGHTA4TGLTA4TGHBit nameTimer A1 event/triggerselect bitTimer A2 event/triggerselect bitTimer A3 event/triggerselect bitTimer A4 event/triggerselect bitFunctionb1 b00 0 : Input on TA1IN is selected (Note)0 1 : TB2 overflow is selected1 0 : TA0 overflow is selected1 1 : TA2 overflow is selectedb3 b20 0 : Input on TA2IN is selected (Note)0 1 : TB2 overflow is selected1 0 : TA1 overflow is selected1 1 : TA3 overflow is selectedb5 b40 0 : Input on TA3IN is selected (Note)0 1 : TB2 overflow is selected1 0 : TA2 overflow is selected1 1 : TA4 overflow is selectedb7 b60 0 : Input on TA4IN is selected (Note)0 1 : TB2 overflow is selected1 0 : TA3 overflow is selected1 1 : TA0 overflow is selectedNote: Set the corresponding port direction register to “0”.R WCount start flagb7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetTABSR 038016 0016Bit symbolTA0SBit nameTimer A0 count start flagFunction0 : Stops counting1 : Starts countingFigure 1.18.3. Registers related to timers for three-phase motor controlR WTA1S Timer A1 count start flagTA2S Timer A2 count start flagTA3S Timer A3 count start flagTA4S Timer A4 count start flagTB0S Timer B0 count start flag TB1S Timer B1 count start flagTB2STimer B2 count start flag102

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

Saved successfully!

Ooh no, something went wrong!