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.

Timer BMitsubishi microcomputers<strong>M16C</strong> / <strong>62</strong> <strong>Group</strong>SINGLE-CHIP 16-BIT CMOS MICROCOMPUTERTimer Bi register (Note)(b15)(b8)b7 b0 b7 b0• Timer modeCounts the timer's periodSymbol Address When resetTB0 039116, 039016 IndeterminateTB1 039316, 039216 IndeterminateTB2 039516, 039416 IndeterminateTB3 035116, 035016 IndeterminateTB4 035316, 035216 IndeterminateTB5 035516, 035416 IndeterminateFunctionValues that can be set• Event counter modeCounts external pulses input or a timer overflow• Pulse period / pulse width measurement modeMeasures a pulse period or widthNote: Read and write data in 16-bit units.000016 to FFFF16000016 to FFFF16R WCount start flagb7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetTABSR 038016 0016Bit symbolTimer B3, 4, 5 count start flagb7 b6 b5 b4 b3 b2 b1 b0Bit nameFunctionR WTA0S Timer A0 count start flag0 : Stops countingTA1S Timer A1 count start flag 1 : Starts countingTA2S Timer A2 count start flagTA3S Timer A3 count start flagTA4S Timer A4 count start flagTB0S Timer B0 count start flagTB1S Timer B1 count start flagTB2S Timer B2 count start flagSymbol Address When resetTBSR 034016 000XXXXX2Bit symbol Bit nameFunctionR WNothing is assigned.In an attempt to write to these bits, write “0”. The value, if read, turnsout to be indeterminate.TB3S Timer B3 count start flag 0 : Stops countingTB4S Timer B4 count start flag1 : Starts countingTB5STimer B5 count start flagClock prescaler reset flagb7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetCPSRF 038116 0XXXXXXX2Figure 1.17.16. Timer B-related registers (2)Bit symbol Bit nameFunctionNothing is assigned.In an attempt to write to these bits, write “0”. The value, if read, turnsout to be indeterminate.CPSR Clock prescaler reset flag 0 : No effect1 : Prescaler is reset(When read, the value is “0”)R W95

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

Saved successfully!

Ooh no, something went wrong!