Chapter 8 Timer/Counter Function; 16-Bit Timer (Tm0, Tm1, Tm7 To Tm12); Outline; Function - NEC Renesas V850/SC1 User Manual

32-bit single-chip microcontrollers
Hide thumbs Also See for Renesas V850/SC1:
Table of Contents

Advertisement

8.1 16-Bit Timer (TM0, TM1, TM7 to TM12)

8.1.1 Outline

• 16-bit capture/compare registers: 2 (CRn0, CRn1)
• Independent capture/trigger inputs: 2 (TIn0, TIn1)
• Support of output of capture/match interrupt request signals (INTTMn0, INTTMn1)
• Event input (shared with TIn0) via digital noise eliminator and support of edge specifications
• Timer output operated by match detection: 1 each (TOn)
When using the P104/TO0, P107/TO1, and P100/TO7 pins as TO0, TO1, and TO7 (timer output), set the value
of port 10 (P10) to 0 (port mode output) and the port 10 mode register (PM10) to 0.
When using the P33/TO8 pins as TO8 (timer output), set the value of port 3 (P3) to 0 (port mode output) and
the port 3 mode register (PM3) to 0.
When using the P25/TO9 pins as TO9 (timer output), set the value of port 2 (P2) to 0 (port mode output) and
the port 2 mode register (PM2) to 0.
When using the P126/TO10 and P127/TO11 pins as TO10 and TO11 (timer output), set the value of port 12
(P12) to 0 (port mode output) and the port 12 mode register (PM12) to 0.
When using the P155/TO12 pins as TO12 (timer output), set the value of port 15 (P15) to 0 (port mode output)
and the port 15 mode register (PM15) to 0.
The ORed value of the output of the port and the timer is output.
Remark n = 0, 1, 7 to 12

8.1.2 Function

TM0, TM1, and TM7 to TM12 have the following functions:
• Interval timer
• PPG output
• Pulse width measurement
• External event counter
• Square-wave output
• One-shot pulse output
The following shows the block diagram.
CHAPTER 8
TIMER/COUNTER FUNCTION
User's Manual U15109EJ3V0UD
255

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents