upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 189

no-image

upd70f3017ay

Manufacturer Part Number
upd70f3017ay
Description
V850/sa1tm 32-/16-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd70f3017ayGC-8EU-A
Manufacturer:
MICROCHIP
Quantity:
1 001
7.3 8-Bit Timers (TM2 to TM5)
7.3.1 Outline
7.3.2 Functions
(1) Mode using timer alone (individual mode)
(2) Mode using cascade connection (16-bit resolution: cascade connection mode)
• 8-bit compare registers: 4 (CRn0)
• Compare match/overflow interrupt request signal (INTTMn) output enabled
• Event input (TIn) count enabled
• Timer outputs that operate on match detection: 1 each (TOn)
8-bit timer n has the following two modes (n = 2 to 5).
• Mode using timer alone (individual mode)
• Mode using cascade connection (16-bit resolution: cascade connection mode)
Caution When used without cascade connection, do not access to the following registers.
The two modes are described next.
The timer operates as an 8-bit timer/event counter.
It can have the following functions.
• Interval timer
• External event counter
• Square wave output
• PWM output
The timer operates as a 16-bit timer/event counter by connecting TM2 and TM3 or TM4 and TM5 in cascade.
It can have the following functions.
• Interval timer with 16-bit resolution
• External event counter with 16-bit resolution
• Square wave output with 16-bit resolution
Can be used as 16-bit compare registers by connecting in cascade (2 max.).
If using the P26/TI2/TO2, P27/TI3/TO3, P36/TI4/TO4, and P37/TI5/TO5 pins as the TO2 to TO5 pins (timer
outputs), set the value of ports 2 and 3 (P2, P3) to 0 (low-level output) and the value of the port 3 mode register
(PM3) to 0 (port output mode). The logical sum (OR) of the output value of the port and the timer is output.
Since the TOn pin and TIn pin share a pin, one or other of these functions (but not both) can be used.
Remark
• 16-bit counters (TM23, TM45)
• 16-bit compare registers (CR23, CR45)
n = 2 to 5
CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U12768EJ4V1UD
189

Related parts for upd70f3017ay