upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 181

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
(2) One-shot pulse output with external trigger
A one-shot pulse can be output from the TOn pin by setting 16-bit timer mode control register n (TMCn),
capture/compare control register n (CRCn), and 16-bit timer output control register n (TOCn) as shown in Figure
7-23, and by using the valid edge of the TIn0 pin as an external trigger.
The valid edge of the TIn0 pin is specified by bits 4 and 5 (ESn00 and ESn01) of prescaler mode register n
(PRMn). The rising, falling, or both the rising and falling edges can be specified.
When the valid edge of the TIn0 pin is detected, the 16-bit timer/event counter is cleared and started, and the
output is asserted at the count value (N) set in advance to 16-bit capture/compare register n1 (CRn1).
After that, the output is deasserted at the count value (M) set in advance to 16-bit capture/compare register n0
(CRn0)
Caution 16-bit timer register n starts operating as soon as TMCn2 and TMCn3 have been set to
Remark
Note This is an example when N < M. When N > M, output of CRn0 is asserted and output of CRn1 is
Caution Even if the external trigger is generated again while the one-shot pulse is output, it is
Remark
Count clock
TMn count
CRn1 set
CRn0 set
INTTMn1
INTTMn0
TOn pin
OSPTn
Note
output
value
value
value
.
deasserted.
Figure 7-22. Timing of One-Shot Pulse Output Operation with Software Trigger
values other than 0, 0 (operation stop mode).
n = 0, 1
N < M
ignored.
n = 0, 1
Set 0CH to TMCn
(TMn count starts)
0000H
M
N
0001H
CHAPTER 7 TIMER/COUNTER FUNCTION
N
N + 1
User’s Manual U12768EJ4V1UD
M
N
0000H
N
1
M
N
N
M
1
M
M
N
0000H 0001H
181

Related parts for upd70f3017ay